Class UpdateReplicationConfigurationResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateReplicationConfigurationResponse.Builder,UpdateReplicationConfigurationResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanWhether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.final BooleanWhether to allow the AWS replication agent to automatically replicate newly added disks.final LongConfigure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.builder()final BooleanWhether to create a Public IP for the Recovery Instance by default.The data plane routing mechanism that will be used for replication.final StringThe data plane routing mechanism that will be used for replication.The Staging Disk EBS volume type to be used during replication.final StringThe Staging Disk EBS volume type to be used during replication.The type of EBS encryption to be used during replication.final StringThe type of EBS encryption to be used during replication.final StringThe ARN of the EBS encryption key to be used during replication.final booleanfinal booleanequalsBySdkFields(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) Used to retrieve the value of a field from any class that extendsSdkResponse.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the PitPolicy property.final booleanFor responses, this returns true if the service returned a value for the ReplicatedDisks property.final booleanFor responses, this returns true if the service returned a value for the ReplicationServersSecurityGroupsIDs property.final booleanFor responses, this returns true if the service returned a value for the StagingAreaTags property.final Stringname()The name of the Replication Configuration.final List<PITPolicyRule> The Point in time (PIT) policy to manage snapshots taken during replication.The configuration of the disks of the Source Server to be replicated.final StringThe instance type to be used for the replication server.The security group IDs that will be used by the replication server.static Class<? extends UpdateReplicationConfigurationResponse.Builder> final StringThe ID of the Source Server for this Replication Configuration.final StringThe 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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final BooleanWhether to use a dedicated Replication Server in the replication staging area.Methods inherited from class software.amazon.awssdk.services.drs.model.DrsResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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,
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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
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
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
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
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.
-
sourceServerID
The ID of the Source Server for this Replication Configuration.
- Returns:
- The ID of the Source Server for this Replication Configuration.
-
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.
-
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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateReplicationConfigurationResponse.Builder,UpdateReplicationConfigurationResponse> - Specified by:
toBuilderin classAwsResponse- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends UpdateReplicationConfigurationResponse.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
Description copied from class:SdkResponseUsed to retrieve the value of a field from any class that extendsSdkResponse. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkResponse.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkResponse- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-