|
|||||||
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(String dBInstanceIdentifier,
String sourceDBInstanceIdentifier)
Constructs a new CreateDBInstanceReadReplicaRequest object. |
Method Summary | |
---|---|
Boolean |
getAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. |
String |
getAvailabilityZone()
The Amazon EC2 Availability Zone that the Read Replica will be created in. |
String |
getDBInstanceClass()
The compute and memory capacity of the Read Replica. |
String |
getDBInstanceIdentifier()
The DB Instance identifier of the Read Replica. |
Integer |
getPort()
The port number that the DB Instance uses for connections. |
String |
getSourceDBInstanceIdentifier()
The identifier of the DB Instance that will act as the source for the Read Replica. |
Boolean |
isAutoMinorVersionUpgrade()
Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. |
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. |
void |
setAvailabilityZone(String availabilityZone)
The Amazon EC2 Availability Zone that the Read Replica will be created in. |
void |
setDBInstanceClass(String dBInstanceClass)
The compute and memory capacity of the Read Replica. |
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The DB Instance identifier of the Read Replica. |
void |
setPort(Integer port)
The port number that the DB Instance uses for connections. |
void |
setSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier)
The identifier of the DB Instance that will act as the source for the Read Replica. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateDBInstanceReadReplicaRequest |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. |
CreateDBInstanceReadReplicaRequest |
withAvailabilityZone(String availabilityZone)
The Amazon EC2 Availability Zone that the Read Replica will be created in. |
CreateDBInstanceReadReplicaRequest |
withDBInstanceClass(String dBInstanceClass)
The compute and memory capacity of the Read Replica. |
CreateDBInstanceReadReplicaRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The DB Instance identifier of the Read Replica. |
CreateDBInstanceReadReplicaRequest |
withPort(Integer port)
The port number that the DB Instance uses for connections. |
CreateDBInstanceReadReplicaRequest |
withSourceDBInstanceIdentifier(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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateDBInstanceReadReplicaRequest()
public CreateDBInstanceReadReplicaRequest(String dBInstanceIdentifier, 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.Method Detail |
---|
public String getDBInstanceIdentifier()
public void setDBInstanceIdentifier(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(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 String getSourceDBInstanceIdentifier()
public void setSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier)
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.public CreateDBInstanceReadReplicaRequest withSourceDBInstanceIdentifier(String sourceDBInstanceIdentifier)
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.
public String getDBInstanceClass()
public void setDBInstanceClass(String dBInstanceClass)
dBInstanceClass
- The compute and memory capacity of the Read Replica.public CreateDBInstanceReadReplicaRequest withDBInstanceClass(String dBInstanceClass)
Returns a reference to this object so that method calls can be chained together.
dBInstanceClass
- The compute and memory capacity of the Read Replica.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Amazon EC2 Availability Zone that the Read Replica will be created
in.public CreateDBInstanceReadReplicaRequest withAvailabilityZone(String availabilityZone)
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.
public Integer getPort()
public void setPort(Integer port)
port
- The port number that the DB Instance uses for connections.public CreateDBInstanceReadReplicaRequest withPort(Integer port)
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.
public Boolean isAutoMinorVersionUpgrade()
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- Indicates that minor engine upgrades will be applied automatically to
the Read Replica during the maintenance window.public CreateDBInstanceReadReplicaRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
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.
public Boolean getAutoMinorVersionUpgrade()
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |