Class OrderableReplicationInstance
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.OrderableReplicationInstance
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class OrderableReplicationInstance extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OrderableReplicationInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderableReplicationInstance
clone()
boolean
equals(Object obj)
Integer
getDefaultAllocatedStorage()
The default amount of storage (in gigabytes) that is allocated for the replication instance.String
getEngineVersion()
The version of the replication engine.Integer
getIncludedAllocatedStorage()
The amount of storage (in gigabytes) that is allocated for the replication instance.Integer
getMaxAllocatedStorage()
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.Integer
getMinAllocatedStorage()
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.String
getReplicationInstanceClass()
The compute and memory capacity of the replication instance.String
getStorageType()
The type of storage used by the replication instance.int
hashCode()
void
setDefaultAllocatedStorage(Integer defaultAllocatedStorage)
The default amount of storage (in gigabytes) that is allocated for the replication instance.void
setEngineVersion(String engineVersion)
The version of the replication engine.void
setIncludedAllocatedStorage(Integer includedAllocatedStorage)
The amount of storage (in gigabytes) that is allocated for the replication instance.void
setMaxAllocatedStorage(Integer maxAllocatedStorage)
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.void
setMinAllocatedStorage(Integer minAllocatedStorage)
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.void
setReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance.void
setStorageType(String storageType)
The type of storage used by the replication instance.String
toString()
Returns a string representation of this object; useful for testing and debugging.OrderableReplicationInstance
withDefaultAllocatedStorage(Integer defaultAllocatedStorage)
The default amount of storage (in gigabytes) that is allocated for the replication instance.OrderableReplicationInstance
withEngineVersion(String engineVersion)
The version of the replication engine.OrderableReplicationInstance
withIncludedAllocatedStorage(Integer includedAllocatedStorage)
The amount of storage (in gigabytes) that is allocated for the replication instance.OrderableReplicationInstance
withMaxAllocatedStorage(Integer maxAllocatedStorage)
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.OrderableReplicationInstance
withMinAllocatedStorage(Integer minAllocatedStorage)
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.OrderableReplicationInstance
withReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance.OrderableReplicationInstance
withStorageType(String storageType)
The type of storage used by the replication instance.
-
-
-
Method Detail
-
setEngineVersion
public void setEngineVersion(String engineVersion)
The version of the replication engine.
- Parameters:
engineVersion
- The version of the replication engine.
-
getEngineVersion
public String getEngineVersion()
The version of the replication engine.
- Returns:
- The version of the replication engine.
-
withEngineVersion
public OrderableReplicationInstance withEngineVersion(String engineVersion)
The version of the replication engine.
- Parameters:
engineVersion
- The version of the replication engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReplicationInstanceClass
public void setReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance.
Valid Values:
dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
- Parameters:
replicationInstanceClass
- The compute and memory capacity of the replication instance.Valid Values:
dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
-
getReplicationInstanceClass
public String getReplicationInstanceClass()
The compute and memory capacity of the replication instance.
Valid Values:
dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
- Returns:
- The compute and memory capacity of the replication instance.
Valid Values:
dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
-
withReplicationInstanceClass
public OrderableReplicationInstance withReplicationInstanceClass(String replicationInstanceClass)
The compute and memory capacity of the replication instance.
Valid Values:
dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
- Parameters:
replicationInstanceClass
- The compute and memory capacity of the replication instance.Valid Values:
dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStorageType
public void setStorageType(String storageType)
The type of storage used by the replication instance.
- Parameters:
storageType
- The type of storage used by the replication instance.
-
getStorageType
public String getStorageType()
The type of storage used by the replication instance.
- Returns:
- The type of storage used by the replication instance.
-
withStorageType
public OrderableReplicationInstance withStorageType(String storageType)
The type of storage used by the replication instance.
- Parameters:
storageType
- The type of storage used by the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMinAllocatedStorage
public void setMinAllocatedStorage(Integer minAllocatedStorage)
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
- Parameters:
minAllocatedStorage
- The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
-
getMinAllocatedStorage
public Integer getMinAllocatedStorage()
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
- Returns:
- The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
-
withMinAllocatedStorage
public OrderableReplicationInstance withMinAllocatedStorage(Integer minAllocatedStorage)
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
- Parameters:
minAllocatedStorage
- The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxAllocatedStorage
public void setMaxAllocatedStorage(Integer maxAllocatedStorage)
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
- Parameters:
maxAllocatedStorage
- The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
-
getMaxAllocatedStorage
public Integer getMaxAllocatedStorage()
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
- Returns:
- The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
-
withMaxAllocatedStorage
public OrderableReplicationInstance withMaxAllocatedStorage(Integer maxAllocatedStorage)
The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.
- Parameters:
maxAllocatedStorage
- The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultAllocatedStorage
public void setDefaultAllocatedStorage(Integer defaultAllocatedStorage)
The default amount of storage (in gigabytes) that is allocated for the replication instance.
- Parameters:
defaultAllocatedStorage
- The default amount of storage (in gigabytes) that is allocated for the replication instance.
-
getDefaultAllocatedStorage
public Integer getDefaultAllocatedStorage()
The default amount of storage (in gigabytes) that is allocated for the replication instance.
- Returns:
- The default amount of storage (in gigabytes) that is allocated for the replication instance.
-
withDefaultAllocatedStorage
public OrderableReplicationInstance withDefaultAllocatedStorage(Integer defaultAllocatedStorage)
The default amount of storage (in gigabytes) that is allocated for the replication instance.
- Parameters:
defaultAllocatedStorage
- The default amount of storage (in gigabytes) that is allocated for the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIncludedAllocatedStorage
public void setIncludedAllocatedStorage(Integer includedAllocatedStorage)
The amount of storage (in gigabytes) that is allocated for the replication instance.
- Parameters:
includedAllocatedStorage
- The amount of storage (in gigabytes) that is allocated for the replication instance.
-
getIncludedAllocatedStorage
public Integer getIncludedAllocatedStorage()
The amount of storage (in gigabytes) that is allocated for the replication instance.
- Returns:
- The amount of storage (in gigabytes) that is allocated for the replication instance.
-
withIncludedAllocatedStorage
public OrderableReplicationInstance withIncludedAllocatedStorage(Integer includedAllocatedStorage)
The amount of storage (in gigabytes) that is allocated for the replication instance.
- Parameters:
includedAllocatedStorage
- The amount of storage (in gigabytes) that is allocated for the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OrderableReplicationInstance clone()
-
-