Class UpdateReplicationConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.drs.model.DrsRequest
-
- software.amazon.awssdk.services.drs.model.UpdateReplicationConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateReplicationConfigurationRequest.Builder,UpdateReplicationConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateReplicationConfigurationRequest extends DrsRequest implements ToCopyableBuilder<UpdateReplicationConfigurationRequest.Builder,UpdateReplicationConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateReplicationConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanassociateDefaultSecurityGroup()Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.BooleanautoReplicateNewDisks()Whether to allow the AWS replication agent to automatically replicate newly added disks.LongbandwidthThrottling()Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.static UpdateReplicationConfigurationRequest.Builderbuilder()BooleancreatePublicIP()Whether to create a Public IP for the Recovery Instance by default.ReplicationConfigurationDataPlaneRoutingdataPlaneRouting()The data plane routing mechanism that will be used for replication.StringdataPlaneRoutingAsString()The data plane routing mechanism that will be used for replication.ReplicationConfigurationDefaultLargeStagingDiskTypedefaultLargeStagingDiskType()The Staging Disk EBS volume type to be used during replication.StringdefaultLargeStagingDiskTypeAsString()The Staging Disk EBS volume type to be used during replication.ReplicationConfigurationEbsEncryptionebsEncryption()The type of EBS encryption to be used during replication.StringebsEncryptionAsString()The type of EBS encryption to be used during replication.StringebsEncryptionKeyArn()The ARN of the EBS encryption key to be used during replication.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasPitPolicy()For responses, this returns true if the service returned a value for the PitPolicy property.booleanhasReplicatedDisks()For responses, this returns true if the service returned a value for the ReplicatedDisks property.booleanhasReplicationServersSecurityGroupsIDs()For responses, this returns true if the service returned a value for the ReplicationServersSecurityGroupsIDs property.booleanhasStagingAreaTags()For responses, this returns true if the service returned a value for the StagingAreaTags property.Stringname()The name of the Replication Configuration.List<PITPolicyRule>pitPolicy()The Point in time (PIT) policy to manage snapshots taken during replication.List<ReplicationConfigurationReplicatedDisk>replicatedDisks()The configuration of the disks of the Source Server to be replicated.StringreplicationServerInstanceType()The instance type to be used for the replication server.List<String>replicationServersSecurityGroupsIDs()The security group IDs that will be used by the replication server.List<SdkField<?>>sdkFields()static Class<? extends UpdateReplicationConfigurationRequest.Builder>serializableBuilderClass()StringsourceServerID()The ID of the Source Server for this Replication Configuration.StringstagingAreaSubnetId()The subnet to be used by the replication staging area.Map<String,String>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.UpdateReplicationConfigurationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanuseDedicatedReplicationServer()Whether to use a dedicated Replication Server in the replication staging area.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
associateDefaultSecurityGroup
public final Boolean associateDefaultSecurityGroup()
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.
- Returns:
- Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.
-
autoReplicateNewDisks
public final Boolean 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
public final Long 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
public final Boolean 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
public final ReplicationConfigurationDataPlaneRouting 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,
dataPlaneRoutingwill 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:
ReplicationConfigurationDataPlaneRouting
-
dataPlaneRoutingAsString
public final String 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,
dataPlaneRoutingwill 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:
ReplicationConfigurationDataPlaneRouting
-
defaultLargeStagingDiskType
public final ReplicationConfigurationDefaultLargeStagingDiskType 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,
defaultLargeStagingDiskTypewill 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:
ReplicationConfigurationDefaultLargeStagingDiskType
-
defaultLargeStagingDiskTypeAsString
public final String 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,
defaultLargeStagingDiskTypewill 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:
ReplicationConfigurationDefaultLargeStagingDiskType
-
ebsEncryption
public final ReplicationConfigurationEbsEncryption 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,
ebsEncryptionwill 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:
ReplicationConfigurationEbsEncryption
-
ebsEncryptionAsString
public final String 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,
ebsEncryptionwill 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:
ReplicationConfigurationEbsEncryption
-
ebsEncryptionKeyArn
public final String 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.
-
name
public final String name()
The name of the Replication Configuration.
- Returns:
- The name of the Replication Configuration.
-
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
public final List<PITPolicyRule> 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.
-
hasReplicatedDisks
public final boolean hasReplicatedDisks()
For responses, this returns true if the service returned a value for the ReplicatedDisks 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.
-
replicatedDisks
public final List<ReplicationConfigurationReplicatedDisk> replicatedDisks()
The configuration of the disks of the Source Server to be replicated.
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
hasReplicatedDisks()method.- Returns:
- The configuration of the disks of the Source Server to be replicated.
-
replicationServerInstanceType
public final String 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
public final List<String> 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.
-
sourceServerID
public final String sourceServerID()
The ID of the Source Server for this Replication Configuration.
- Returns:
- The ID of the Source Server for this Replication Configuration.
-
stagingAreaSubnetId
public final String 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
public final Map<String,String> 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.
-
useDedicatedReplicationServer
public final Boolean 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
public UpdateReplicationConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateReplicationConfigurationRequest.Builder,UpdateReplicationConfigurationRequest>- Specified by:
toBuilderin classDrsRequest
-
builder
public static UpdateReplicationConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateReplicationConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-