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 OrderableReplicationInstanceclone()booleanequals(Object obj)IntegergetDefaultAllocatedStorage()The default amount of storage (in gigabytes) that is allocated for the replication instance.StringgetEngineVersion()The version of the replication engine.IntegergetIncludedAllocatedStorage()The amount of storage (in gigabytes) that is allocated for the replication instance.IntegergetMaxAllocatedStorage()The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.IntegergetMinAllocatedStorage()The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.StringgetReplicationInstanceClass()The compute and memory capacity of the replication instance.StringgetStorageType()The type of storage used by the replication instance.inthashCode()voidsetDefaultAllocatedStorage(Integer defaultAllocatedStorage)The default amount of storage (in gigabytes) that is allocated for the replication instance.voidsetEngineVersion(String engineVersion)The version of the replication engine.voidsetIncludedAllocatedStorage(Integer includedAllocatedStorage)The amount of storage (in gigabytes) that is allocated for the replication instance.voidsetMaxAllocatedStorage(Integer maxAllocatedStorage)The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.voidsetMinAllocatedStorage(Integer minAllocatedStorage)The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.voidsetReplicationInstanceClass(String replicationInstanceClass)The compute and memory capacity of the replication instance.voidsetStorageType(String storageType)The type of storage used by the replication instance.StringtoString()Returns a string representation of this object; useful for testing and debugging.OrderableReplicationInstancewithDefaultAllocatedStorage(Integer defaultAllocatedStorage)The default amount of storage (in gigabytes) that is allocated for the replication instance.OrderableReplicationInstancewithEngineVersion(String engineVersion)The version of the replication engine.OrderableReplicationInstancewithIncludedAllocatedStorage(Integer includedAllocatedStorage)The amount of storage (in gigabytes) that is allocated for the replication instance.OrderableReplicationInstancewithMaxAllocatedStorage(Integer maxAllocatedStorage)The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.OrderableReplicationInstancewithMinAllocatedStorage(Integer minAllocatedStorage)The minimum amount of storage (in gigabytes) that can be allocated for the replication instance.OrderableReplicationInstancewithReplicationInstanceClass(String replicationInstanceClass)The compute and memory capacity of the replication instance.OrderableReplicationInstancewithStorageType(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OrderableReplicationInstance clone()
-
-