public class InstanceRequest extends BaseInstance
Instance
Modifier and Type | Class and Description |
---|---|
static class |
InstanceRequest.Builder<T extends InstanceRequest.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoMinorVersionUpgrade |
protected int |
backupRetentionPeriod |
protected com.google.common.base.Optional<String> |
characterSet |
protected com.google.common.base.Optional<String> |
engineVersion |
protected com.google.common.base.Optional<String> |
licenseModel |
protected String |
masterPassword |
protected com.google.common.base.Optional<String> |
optionGroup |
protected com.google.common.base.Optional<String> |
parameterGroup |
protected com.google.common.base.Optional<Integer> |
port |
protected Set<String> |
securityGroups |
protected com.google.common.base.Optional<String> |
subnetGroup |
allocatedStorageGB, engine, instanceClass, masterUsername, name
Modifier | Constructor and Description |
---|---|
protected |
InstanceRequest(com.google.common.base.Optional<String> name,
String instanceClass,
com.google.common.base.Optional<Integer> port,
com.google.common.base.Optional<String> characterSet,
com.google.common.base.Optional<String> optionGroup,
com.google.common.base.Optional<String> parameterGroup,
boolean autoMinorVersionUpgrade,
String engine,
com.google.common.base.Optional<String> engineVersion,
com.google.common.base.Optional<String> licenseModel,
String masterUsername,
int allocatedStorageGB,
int backupRetentionPeriod,
com.google.common.base.Optional<String> subnetGroup,
Iterable<String> securityGroups,
String masterPassword) |
Modifier and Type | Method and Description |
---|---|
static InstanceRequest.Builder<?> |
builder() |
int |
getBackupRetentionPeriod()
The number of days for which automated backups are retained.
|
com.google.common.base.Optional<String> |
getCharacterSet()
For supported engines, indicates that the DB Instance should be associated with the specified
CharacterSet.
|
com.google.common.base.Optional<String> |
getEngineVersion()
The version number of the database engine to use.
|
com.google.common.base.Optional<String> |
getLicenseModel()
License model information for this DB Instance.
|
String |
getMasterPassword()
The password for the master database user.
|
com.google.common.base.Optional<String> |
getOptionGroup()
Indicates that the DB Instance should be associated with the specified option group.
|
com.google.common.base.Optional<String> |
getParameterGroup()
The name of the DB Parameter Group to associate with this DB instance.
|
com.google.common.base.Optional<Integer> |
getPort()
The port number on which the database accepts connections.
|
Set<String> |
getSecurityGroups()
A list of DB Security Groups to associate with this DB Instance.
|
com.google.common.base.Optional<String> |
getSubnetGroup()
A DB Subnet Group to associate with this DB Instance.
|
boolean |
isAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the DB Instance during
the maintenance window.
|
protected com.google.common.base.Objects.ToStringHelper |
string() |
InstanceRequest.Builder<?> |
toBuilder() |
equals, getAllocatedStorageGB, getEngine, getInstanceClass, getMasterUsername, getName, hashCode, toString
protected final com.google.common.base.Optional<String> engineVersion
protected final com.google.common.base.Optional<String> licenseModel
protected final com.google.common.base.Optional<Integer> port
protected final com.google.common.base.Optional<String> characterSet
protected final int backupRetentionPeriod
protected final com.google.common.base.Optional<String> optionGroup
protected final com.google.common.base.Optional<String> parameterGroup
protected final boolean autoMinorVersionUpgrade
protected final com.google.common.base.Optional<String> subnetGroup
protected final String masterPassword
protected InstanceRequest(com.google.common.base.Optional<String> name, String instanceClass, com.google.common.base.Optional<Integer> port, com.google.common.base.Optional<String> characterSet, com.google.common.base.Optional<String> optionGroup, com.google.common.base.Optional<String> parameterGroup, boolean autoMinorVersionUpgrade, String engine, com.google.common.base.Optional<String> engineVersion, com.google.common.base.Optional<String> licenseModel, String masterUsername, int allocatedStorageGB, int backupRetentionPeriod, com.google.common.base.Optional<String> subnetGroup, Iterable<String> securityGroups, String masterPassword)
public static InstanceRequest.Builder<?> builder()
public InstanceRequest.Builder<?> toBuilder()
toBuilder
in class BaseInstance
public com.google.common.base.Optional<String> getEngineVersion()
public com.google.common.base.Optional<String> getLicenseModel()
public com.google.common.base.Optional<String> getCharacterSet()
public com.google.common.base.Optional<Integer> getPort()
Engine | Default | Range |
MySQL | 3306 | 1150-65535 |
Oracle | 1521 | 1150-65535 |
SQL Server | 1433 | 1150-65535 except for 1434 and 3389 |
public int getBackupRetentionPeriod()
1
public com.google.common.base.Optional<String> getOptionGroup()
public com.google.common.base.Optional<String> getParameterGroup()
public boolean isAutoMinorVersionUpgrade()
true
public com.google.common.base.Optional<String> getSubnetGroup()
public Set<String> getSecurityGroups()
public String getMasterPassword()
protected com.google.common.base.Objects.ToStringHelper string()
string
in class BaseInstance
Copyright © 2009-2013 jclouds. All Rights Reserved.