Class ReplicationConfigurationTemplate
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ReplicationConfigurationTemplate.Builder,
ReplicationConfigurationTemplate>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
arn()
The Replication Configuration Template ARN.final Boolean
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.final Boolean
Whether to allow the AWS replication agent to automatically replicate newly added disks.final Long
Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.builder()
final Boolean
Whether to create a Public IP for the Recovery Instance by default.The data plane routing mechanism that will be used for replication.final String
The data plane routing mechanism that will be used for replication.The Staging Disk EBS volume type to be used during replication.final String
The Staging Disk EBS volume type to be used during replication.The type of EBS encryption to be used during replication.final String
The type of EBS encryption to be used during replication.final String
The ARN of the EBS encryption key to be used during replication.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the PitPolicy property.final boolean
For responses, this returns true if the service returned a value for the ReplicationServersSecurityGroupsIDs property.final boolean
For responses, this returns true if the service returned a value for the StagingAreaTags property.final boolean
hasTags()
For responses, this returns true if the service returned a value for the Tags property.final List
<PITPolicyRule> The Point in time (PIT) policy to manage snapshots taken during replication.final String
The Replication Configuration Template ID.final String
The instance type to be used for the replication server.The security group IDs that will be used by the replication server.static Class
<? extends ReplicationConfigurationTemplate.Builder> final String
The subnet to be used by the replication staging area.A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.tags()
A set of tags to be associated with the Replication Configuration Template resource.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Boolean
Whether to use a dedicated Replication Server in the replication staging area.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
The Replication Configuration Template ARN.
- Returns:
- The Replication Configuration Template ARN.
-
associateDefaultSecurityGroup
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- Returns:
- Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
-
autoReplicateNewDisks
Whether to allow the AWS replication agent to automatically replicate newly added disks.
- Returns:
- Whether to allow the AWS replication agent to automatically replicate newly added disks.
-
bandwidthThrottling
Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- Returns:
- Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
-
createPublicIP
Whether to create a Public IP for the Recovery Instance by default.
- Returns:
- Whether to create a Public IP for the Recovery Instance by default.
-
dataPlaneRouting
The data plane routing mechanism that will be used for replication.
If the service returns an enum value that is not available in the current SDK version,
dataPlaneRouting
will returnReplicationConfigurationDataPlaneRouting.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdataPlaneRoutingAsString()
.- Returns:
- The data plane routing mechanism that will be used for replication.
- See Also:
-
dataPlaneRoutingAsString
The data plane routing mechanism that will be used for replication.
If the service returns an enum value that is not available in the current SDK version,
dataPlaneRouting
will returnReplicationConfigurationDataPlaneRouting.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdataPlaneRoutingAsString()
.- Returns:
- The data plane routing mechanism that will be used for replication.
- See Also:
-
defaultLargeStagingDiskType
The Staging Disk EBS volume type to be used during replication.
If the service returns an enum value that is not available in the current SDK version,
defaultLargeStagingDiskType
will returnReplicationConfigurationDefaultLargeStagingDiskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdefaultLargeStagingDiskTypeAsString()
.- Returns:
- The Staging Disk EBS volume type to be used during replication.
- See Also:
-
defaultLargeStagingDiskTypeAsString
The Staging Disk EBS volume type to be used during replication.
If the service returns an enum value that is not available in the current SDK version,
defaultLargeStagingDiskType
will returnReplicationConfigurationDefaultLargeStagingDiskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdefaultLargeStagingDiskTypeAsString()
.- Returns:
- The Staging Disk EBS volume type to be used during replication.
- See Also:
-
ebsEncryption
The type of EBS encryption to be used during replication.
If the service returns an enum value that is not available in the current SDK version,
ebsEncryption
will returnReplicationConfigurationEbsEncryption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromebsEncryptionAsString()
.- Returns:
- The type of EBS encryption to be used during replication.
- See Also:
-
ebsEncryptionAsString
The type of EBS encryption to be used during replication.
If the service returns an enum value that is not available in the current SDK version,
ebsEncryption
will returnReplicationConfigurationEbsEncryption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromebsEncryptionAsString()
.- Returns:
- The type of EBS encryption to be used during replication.
- See Also:
-
ebsEncryptionKeyArn
The ARN of the EBS encryption key to be used during replication.
- Returns:
- The ARN of the EBS encryption key to be used during replication.
-
hasPitPolicy
public final boolean hasPitPolicy()For responses, this returns true if the service returned a value for the PitPolicy property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
pitPolicy
The Point in time (PIT) policy to manage snapshots taken during replication.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasPitPolicy()
method.- Returns:
- The Point in time (PIT) policy to manage snapshots taken during replication.
-
replicationConfigurationTemplateID
The Replication Configuration Template ID.
- Returns:
- The Replication Configuration Template ID.
-
replicationServerInstanceType
The instance type to be used for the replication server.
- Returns:
- The instance type to be used for the replication server.
-
hasReplicationServersSecurityGroupsIDs
public final boolean hasReplicationServersSecurityGroupsIDs()For responses, this returns true if the service returned a value for the ReplicationServersSecurityGroupsIDs property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
replicationServersSecurityGroupsIDs
The security group IDs that will be used by the replication server.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasReplicationServersSecurityGroupsIDs()
method.- Returns:
- The security group IDs that will be used by the replication server.
-
stagingAreaSubnetId
The subnet to be used by the replication staging area.
- Returns:
- The subnet to be used by the replication staging area.
-
hasStagingAreaTags
public final boolean hasStagingAreaTags()For responses, this returns true if the service returned a value for the StagingAreaTags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
stagingAreaTags
A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasStagingAreaTags()
method.- Returns:
- A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
tags
A set of tags to be associated with the Replication Configuration Template resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()
method.- Returns:
- A set of tags to be associated with the Replication Configuration Template resource.
-
useDedicatedReplicationServer
Whether to use a dedicated Replication Server in the replication staging area.
- Returns:
- Whether to use a dedicated Replication Server in the replication staging area.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ReplicationConfigurationTemplate.Builder,
ReplicationConfigurationTemplate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-