|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.CreateDBInstanceReadReplicaRequest
public class CreateDBInstanceReadReplicaRequest
Container for the parameters to the CreateDBInstanceReadReplica operation
.
Creates a DB Instance that acts as a Read Replica of a source DB Instance.
All Read Replica DB Instances are created as Single-AZ deployments with backups disabled. All other DB Instance attributes (including DB Security Groups and DB Parameter Groups) are inherited from the source DB Instance, except as specified below.
IMPORTANT: The source DB Instance must have backup retention enabled.
AmazonRDS.createDBInstanceReadReplica(CreateDBInstanceReadReplicaRequest)
Constructor Summary | |
---|---|
CreateDBInstanceReadReplicaRequest()
Default constructor for a new CreateDBInstanceReadReplicaRequest object. |
|
CreateDBInstanceReadReplicaRequest(java.lang.String dBInstanceIdentifier,
java.lang.String sourceDBInstanceIdentifier)
Constructs a new CreateDBInstanceReadReplicaRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Boolean |
getAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. |
java.lang.String |
getAvailabilityZone()
The Amazon EC2 Availability Zone that the Read Replica will be created in. |
java.lang.String |
getDBInstanceClass()
The compute and memory capacity of the Read Replica. |
java.lang.String |
getDBInstanceIdentifier()
The DB Instance identifier of the Read Replica. |
java.lang.Integer |
getIops()
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance. |
java.lang.String |
getOptionGroupName()
The option group the DB instance will be associated with. |
java.lang.Integer |
getPort()
The port number that the DB Instance uses for connections. |
java.lang.Boolean |
getPubliclyAccessible()
Returns the value of the PubliclyAccessible property for this object. |
java.lang.String |
getSourceDBInstanceIdentifier()
The identifier of the DB Instance that will act as the source for the Read Replica. |
int |
hashCode()
|
java.lang.Boolean |
isAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. |
java.lang.Boolean |
isPubliclyAccessible()
Returns the value of the PubliclyAccessible property for this object. |
void |
setAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. |
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Amazon EC2 Availability Zone that the Read Replica will be created in. |
void |
setDBInstanceClass(java.lang.String dBInstanceClass)
The compute and memory capacity of the Read Replica. |
void |
setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB Instance identifier of the Read Replica. |
void |
setIops(java.lang.Integer iops)
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance. |
void |
setOptionGroupName(java.lang.String optionGroupName)
The option group the DB instance will be associated with. |
void |
setPort(java.lang.Integer port)
The port number that the DB Instance uses for connections. |
void |
setPubliclyAccessible(java.lang.Boolean publiclyAccessible)
Sets the value of the PubliclyAccessible property for this object. |
void |
setSourceDBInstanceIdentifier(java.lang.String sourceDBInstanceIdentifier)
The identifier of the DB Instance that will act as the source for the Read Replica. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateDBInstanceReadReplicaRequest |
withAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. |
CreateDBInstanceReadReplicaRequest |
withAvailabilityZone(java.lang.String availabilityZone)
The Amazon EC2 Availability Zone that the Read Replica will be created in. |
CreateDBInstanceReadReplicaRequest |
withDBInstanceClass(java.lang.String dBInstanceClass)
The compute and memory capacity of the Read Replica. |
CreateDBInstanceReadReplicaRequest |
withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB Instance identifier of the Read Replica. |
CreateDBInstanceReadReplicaRequest |
withIops(java.lang.Integer iops)
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB Instance. |
CreateDBInstanceReadReplicaRequest |
withOptionGroupName(java.lang.String optionGroupName)
The option group the DB instance will be associated with. |
CreateDBInstanceReadReplicaRequest |
withPort(java.lang.Integer port)
The port number that the DB Instance uses for connections. |
CreateDBInstanceReadReplicaRequest |
withPubliclyAccessible(java.lang.Boolean publiclyAccessible)
Sets the value of the PubliclyAccessible property for this object. |
CreateDBInstanceReadReplicaRequest |
withSourceDBInstanceIdentifier(java.lang.String sourceDBInstanceIdentifier)
The identifier of the DB Instance that will act as the source for the Read Replica. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateDBInstanceReadReplicaRequest()
public CreateDBInstanceReadReplicaRequest(java.lang.String dBInstanceIdentifier, java.lang.String sourceDBInstanceIdentifier)
dBInstanceIdentifier
- The DB Instance identifier of the Read
Replica. This is the unique key that identifies a DB Instance. This
parameter is stored as a lowercase string.sourceDBInstanceIdentifier
- The identifier of the DB Instance
that will act as the source for the Read Replica. Each DB Instance can
have up to five Read Replicas. Constraints: Must be the identifier of an existing DB Instance that is not already a Read Replica DB Instance.
Method Detail |
---|
public java.lang.String getDBInstanceIdentifier()
public void setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
dBInstanceIdentifier
- The DB Instance identifier of the Read Replica. This is the unique key
that identifies a DB Instance. This parameter is stored as a lowercase
string.public CreateDBInstanceReadReplicaRequest withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- The DB Instance identifier of the Read Replica. This is the unique key
that identifies a DB Instance. This parameter is stored as a lowercase
string.
public java.lang.String getSourceDBInstanceIdentifier()
Constraints: Must be the identifier of an existing DB Instance that is not already a Read Replica DB Instance.
Constraints: Must be the identifier of an existing DB Instance that is not already a Read Replica DB Instance.
public void setSourceDBInstanceIdentifier(java.lang.String sourceDBInstanceIdentifier)
Constraints: Must be the identifier of an existing DB Instance that is not already a Read Replica DB Instance.
sourceDBInstanceIdentifier
- The identifier of the DB Instance that will act as the source for the
Read Replica. Each DB Instance can have up to five Read Replicas.
Constraints: Must be the identifier of an existing DB Instance that is not already a Read Replica DB Instance.
public CreateDBInstanceReadReplicaRequest withSourceDBInstanceIdentifier(java.lang.String sourceDBInstanceIdentifier)
Constraints: Must be the identifier of an existing DB Instance that is not already a Read Replica DB Instance.
Returns a reference to this object so that method calls can be chained together.
sourceDBInstanceIdentifier
- The identifier of the DB Instance that will act as the source for the
Read Replica. Each DB Instance can have up to five Read Replicas.
Constraints: Must be the identifier of an existing DB Instance that is not already a Read Replica DB Instance.
public java.lang.String getDBInstanceClass()
Valid Values:
db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge |
db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge
Default: Inherits from the source DB Instance.
Valid Values:
db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge |
db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge
Default: Inherits from the source DB Instance.
public void setDBInstanceClass(java.lang.String dBInstanceClass)
Valid Values:
db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge |
db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge
Default: Inherits from the source DB Instance.
dBInstanceClass
- The compute and memory capacity of the Read Replica. Valid Values:
db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge |
db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge
Default: Inherits from the source DB Instance.
public CreateDBInstanceReadReplicaRequest withDBInstanceClass(java.lang.String dBInstanceClass)
Valid Values:
db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge |
db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge
Default: Inherits from the source DB Instance.
Returns a reference to this object so that method calls can be chained together.
dBInstanceClass
- The compute and memory capacity of the Read Replica. Valid Values:
db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge |
db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge
Default: Inherits from the source DB Instance.
public java.lang.String getAvailabilityZone()
Default: A random, system-chosen Availability Zone in the endpoint's region.
Example: us-east-1d
Default: A random, system-chosen Availability Zone in the endpoint's region.
Example: us-east-1d
public void setAvailabilityZone(java.lang.String availabilityZone)
Default: A random, system-chosen Availability Zone in the endpoint's region.
Example: us-east-1d
availabilityZone
- The Amazon EC2 Availability Zone that the Read Replica will be created
in. Default: A random, system-chosen Availability Zone in the endpoint's region.
Example: us-east-1d
public CreateDBInstanceReadReplicaRequest withAvailabilityZone(java.lang.String availabilityZone)
Default: A random, system-chosen Availability Zone in the endpoint's region.
Example: us-east-1d
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Amazon EC2 Availability Zone that the Read Replica will be created
in. Default: A random, system-chosen Availability Zone in the endpoint's region.
Example: us-east-1d
public java.lang.Integer getPort()
Default: Inherits from the source DB Instance
Valid Values:
1150-65535
Default: Inherits from the source DB Instance
Valid Values:
1150-65535
public void setPort(java.lang.Integer port)
Default: Inherits from the source DB Instance
Valid Values:
1150-65535
port
- The port number that the DB Instance uses for connections. Default: Inherits from the source DB Instance
Valid Values:
1150-65535
public CreateDBInstanceReadReplicaRequest withPort(java.lang.Integer port)
Default: Inherits from the source DB Instance
Valid Values:
1150-65535
Returns a reference to this object so that method calls can be chained together.
port
- The port number that the DB Instance uses for connections. Default: Inherits from the source DB Instance
Valid Values:
1150-65535
public java.lang.Boolean isAutoMinorVersionUpgrade()
Default: Inherits from the source DB Instance
Default: Inherits from the source DB Instance
public void setAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Default: Inherits from the source DB Instance
autoMinorVersionUpgrade
- Indicates that minor engine upgrades will be applied automatically to
the Read Replica during the maintenance window. Default: Inherits from the source DB Instance
public CreateDBInstanceReadReplicaRequest withAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Default: Inherits from the source DB Instance
Returns a reference to this object so that method calls can be chained together.
autoMinorVersionUpgrade
- Indicates that minor engine upgrades will be applied automatically to
the Read Replica during the maintenance window. Default: Inherits from the source DB Instance
public java.lang.Boolean getAutoMinorVersionUpgrade()
Default: Inherits from the source DB Instance
Default: Inherits from the source DB Instance
public java.lang.Integer getIops()
public void setIops(java.lang.Integer iops)
iops
- The amount of Provisioned IOPS (input/output operations per second) to
be initially allocated for the DB Instance.public CreateDBInstanceReadReplicaRequest withIops(java.lang.Integer iops)
Returns a reference to this object so that method calls can be chained together.
iops
- The amount of Provisioned IOPS (input/output operations per second) to
be initially allocated for the DB Instance.
public java.lang.String getOptionGroupName()
public void setOptionGroupName(java.lang.String optionGroupName)
optionGroupName
- The option group the DB instance will be associated with. If omitted,
the default Option Group for the engine specified will be used.public CreateDBInstanceReadReplicaRequest withOptionGroupName(java.lang.String optionGroupName)
Returns a reference to this object so that method calls can be chained together.
optionGroupName
- The option group the DB instance will be associated with. If omitted,
the default Option Group for the engine specified will be used.
public java.lang.Boolean isPubliclyAccessible()
public void setPubliclyAccessible(java.lang.Boolean publiclyAccessible)
publiclyAccessible
- The new value for the PubliclyAccessible property for this object.public CreateDBInstanceReadReplicaRequest withPubliclyAccessible(java.lang.Boolean publiclyAccessible)
Returns a reference to this object so that method calls can be chained together.
publiclyAccessible
- The new value for the PubliclyAccessible property for this object.
public java.lang.Boolean getPubliclyAccessible()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |