/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.databasemigrationservice.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* In response to the DescribeOrderableReplicationInstances
operation, this object describes an available
* replication instance. This description includes the replication instance's type, engine version, and allocated
* storage.
*
* The version of the replication engine. *
*/ private String engineVersion; /** *
* The compute and memory capacity of the replication instance as defined for the specified replication instance
* class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
*
* For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration. *
*/ private String replicationInstanceClass; /** ** The type of storage used by the replication instance. *
*/ private String storageType; /** ** The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. *
*/ private Integer minAllocatedStorage; /** ** The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. *
*/ private Integer maxAllocatedStorage; /** ** The default amount of storage (in gigabytes) that is allocated for the replication instance. *
*/ private Integer defaultAllocatedStorage; /** ** The amount of storage (in gigabytes) that is allocated for the replication instance. *
*/ private Integer includedAllocatedStorage; /** ** List of Availability Zones for this replication instance. *
*/ private java.util.List
* The value returned when the specified EngineVersion
of the replication instance is in Beta or test
* mode. This indicates some features might not work as expected.
*
* DMS supports the ReleaseStatus
parameter in versions 3.1.4 and later.
*
* The version of the replication engine. *
* * @param engineVersion * The version of the replication engine. */ public void setEngineVersion(String engineVersion) { this.engineVersion = engineVersion; } /** ** The version of the replication engine. *
* * @return The version of the replication engine. */ public String getEngineVersion() { return this.engineVersion; } /** ** The version of the replication engine. *
* * @param engineVersion * The version of the replication engine. * @return Returns a reference to this object so that method calls can be chained together. */ public OrderableReplicationInstance withEngineVersion(String engineVersion) { setEngineVersion(engineVersion); return this; } /** *
* The compute and memory capacity of the replication instance as defined for the specified replication instance
* class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
*
* For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration. *
* * @param replicationInstanceClass * The compute and memory capacity of the replication instance as defined for the specified replication * instance class. For example to specify the instance class dms.c4.large, set this parameter to *"dms.c4.large"
.
* * For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration. */ public void setReplicationInstanceClass(String replicationInstanceClass) { this.replicationInstanceClass = replicationInstanceClass; } /** *
* The compute and memory capacity of the replication instance as defined for the specified replication instance
* class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
*
* For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration. *
* * @return The compute and memory capacity of the replication instance as defined for the specified replication * instance class. For example to specify the instance class dms.c4.large, set this parameter to *"dms.c4.large"
.
* * For more information on the settings and capacities for the available replication instance classes, see * Selecting the right DMS replication instance for your migration. */ public String getReplicationInstanceClass() { return this.replicationInstanceClass; } /** *
* The compute and memory capacity of the replication instance as defined for the specified replication instance
* class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
*
* For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration. *
* * @param replicationInstanceClass * The compute and memory capacity of the replication instance as defined for the specified replication * instance class. For example to specify the instance class dms.c4.large, set this parameter to *"dms.c4.large"
.
* * For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration. * @return Returns a reference to this object so that method calls can be chained together. */ public OrderableReplicationInstance withReplicationInstanceClass(String replicationInstanceClass) { setReplicationInstanceClass(replicationInstanceClass); return this; } /** *
* The type of storage used by the replication instance. *
* * @param storageType * The type of storage used by the replication instance. */ public void setStorageType(String storageType) { this.storageType = storageType; } /** ** The type of storage used by the replication instance. *
* * @return The type of storage used by the replication instance. */ public String getStorageType() { return this.storageType; } /** ** The type of storage used by the replication instance. *
* * @param storageType * The type of storage used by the replication instance. * @return Returns a reference to this object so that method calls can be chained together. */ public OrderableReplicationInstance withStorageType(String storageType) { setStorageType(storageType); return this; } /** ** The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. *
* * @param minAllocatedStorage * The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. */ public void setMinAllocatedStorage(Integer minAllocatedStorage) { this.minAllocatedStorage = minAllocatedStorage; } /** ** The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. *
* * @return The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. */ public Integer getMinAllocatedStorage() { return this.minAllocatedStorage; } /** ** The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. *
* * @param minAllocatedStorage * The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. * @return Returns a reference to this object so that method calls can be chained together. */ public OrderableReplicationInstance withMinAllocatedStorage(Integer minAllocatedStorage) { setMinAllocatedStorage(minAllocatedStorage); return this; } /** ** The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. *
* * @param maxAllocatedStorage * The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. */ public void setMaxAllocatedStorage(Integer maxAllocatedStorage) { this.maxAllocatedStorage = maxAllocatedStorage; } /** ** The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. *
* * @return The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. */ public Integer getMaxAllocatedStorage() { return this.maxAllocatedStorage; } /** ** The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. *
* * @param maxAllocatedStorage * The minimum amount of storage (in gigabytes) that can be allocated for the replication instance. * @return Returns a reference to this object so that method calls can be chained together. */ public OrderableReplicationInstance withMaxAllocatedStorage(Integer maxAllocatedStorage) { setMaxAllocatedStorage(maxAllocatedStorage); return this; } /** ** The default amount of storage (in gigabytes) that is allocated for the replication instance. *
* * @param defaultAllocatedStorage * The default amount of storage (in gigabytes) that is allocated for the replication instance. */ public void setDefaultAllocatedStorage(Integer defaultAllocatedStorage) { this.defaultAllocatedStorage = defaultAllocatedStorage; } /** ** The default amount of storage (in gigabytes) that is allocated for the replication instance. *
* * @return The default amount of storage (in gigabytes) that is allocated for the replication instance. */ public Integer getDefaultAllocatedStorage() { return this.defaultAllocatedStorage; } /** ** The default amount of storage (in gigabytes) that is allocated for the replication instance. *
* * @param defaultAllocatedStorage * The default amount of storage (in gigabytes) that is allocated for the replication instance. * @return Returns a reference to this object so that method calls can be chained together. */ public OrderableReplicationInstance withDefaultAllocatedStorage(Integer defaultAllocatedStorage) { setDefaultAllocatedStorage(defaultAllocatedStorage); return this; } /** ** The amount of storage (in gigabytes) that is allocated for the replication instance. *
* * @param includedAllocatedStorage * The amount of storage (in gigabytes) that is allocated for the replication instance. */ public void setIncludedAllocatedStorage(Integer includedAllocatedStorage) { this.includedAllocatedStorage = includedAllocatedStorage; } /** ** The amount of storage (in gigabytes) that is allocated for the replication instance. *
* * @return The amount of storage (in gigabytes) that is allocated for the replication instance. */ public Integer getIncludedAllocatedStorage() { return this.includedAllocatedStorage; } /** ** The amount of storage (in gigabytes) that is allocated for the replication instance. *
* * @param includedAllocatedStorage * The amount of storage (in gigabytes) that is allocated for the replication instance. * @return Returns a reference to this object so that method calls can be chained together. */ public OrderableReplicationInstance withIncludedAllocatedStorage(Integer includedAllocatedStorage) { setIncludedAllocatedStorage(includedAllocatedStorage); return this; } /** ** List of Availability Zones for this replication instance. *
* * @return List of Availability Zones for this replication instance. */ public java.util.List* List of Availability Zones for this replication instance. *
* * @param availabilityZones * List of Availability Zones for this replication instance. */ public void setAvailabilityZones(java.util.Collection* List of Availability Zones for this replication instance. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAvailabilityZones(java.util.Collection)} or {@link #withAvailabilityZones(java.util.Collection)} if * you want to override the existing values. *
* * @param availabilityZones * List of Availability Zones for this replication instance. * @return Returns a reference to this object so that method calls can be chained together. */ public OrderableReplicationInstance withAvailabilityZones(String... availabilityZones) { if (this.availabilityZones == null) { setAvailabilityZones(new java.util.ArrayList* List of Availability Zones for this replication instance. *
* * @param availabilityZones * List of Availability Zones for this replication instance. * @return Returns a reference to this object so that method calls can be chained together. */ public OrderableReplicationInstance withAvailabilityZones(java.util.Collection
* The value returned when the specified EngineVersion
of the replication instance is in Beta or test
* mode. This indicates some features might not work as expected.
*
* DMS supports the ReleaseStatus
parameter in versions 3.1.4 and later.
*
EngineVersion
of the replication instance is in Beta or
* test mode. This indicates some features might not work as expected.
* DMS supports the ReleaseStatus
parameter in versions 3.1.4 and later.
*
* The value returned when the specified EngineVersion
of the replication instance is in Beta or test
* mode. This indicates some features might not work as expected.
*
* DMS supports the ReleaseStatus
parameter in versions 3.1.4 and later.
*
EngineVersion
of the replication instance is in Beta
* or test mode. This indicates some features might not work as expected.
* DMS supports the ReleaseStatus
parameter in versions 3.1.4 and later.
*
* The value returned when the specified EngineVersion
of the replication instance is in Beta or test
* mode. This indicates some features might not work as expected.
*
* DMS supports the ReleaseStatus
parameter in versions 3.1.4 and later.
*
EngineVersion
of the replication instance is in Beta or
* test mode. This indicates some features might not work as expected.
* DMS supports the ReleaseStatus
parameter in versions 3.1.4 and later.
*
* The value returned when the specified EngineVersion
of the replication instance is in Beta or test
* mode. This indicates some features might not work as expected.
*
* DMS supports the ReleaseStatus
parameter in versions 3.1.4 and later.
*
EngineVersion
of the replication instance is in Beta or
* test mode. This indicates some features might not work as expected.
* DMS supports the ReleaseStatus
parameter in versions 3.1.4 and later.
*