Class DeleteReplicationConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.efs.model.EfsRequest
-
- software.amazon.awssdk.services.efs.model.DeleteReplicationConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteReplicationConfigurationRequest.Builder,DeleteReplicationConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteReplicationConfigurationRequest extends EfsRequest implements ToCopyableBuilder<DeleteReplicationConfigurationRequest.Builder,DeleteReplicationConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteReplicationConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteReplicationConfigurationRequest.Builderbuilder()DeletionModedeletionMode()When replicating across Amazon Web Services accounts or across Amazon Web Services Regions, Amazon EFS deletes the replication configuration from both the source and destination account or Region (ALL_CONFIGURATIONS) by default.StringdeletionModeAsString()When replicating across Amazon Web Services accounts or across Amazon Web Services Regions, Amazon EFS deletes the replication configuration from both the source and destination account or Region (ALL_CONFIGURATIONS) by default.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeleteReplicationConfigurationRequest.Builder>serializableBuilderClass()StringsourceFileSystemId()The ID of the source file system in the replication configuration.DeleteReplicationConfigurationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
sourceFileSystemId
public final String sourceFileSystemId()
The ID of the source file system in the replication configuration.
- Returns:
- The ID of the source file system in the replication configuration.
-
deletionMode
public final DeletionMode deletionMode()
When replicating across Amazon Web Services accounts or across Amazon Web Services Regions, Amazon EFS deletes the replication configuration from both the source and destination account or Region (
ALL_CONFIGURATIONS) by default. If there's a configuration or permissions issue that prevents Amazon EFS from deleting the replication configuration from both sides, you can use theLOCAL_CONFIGURATION_ONLYmode to delete the replication configuration from only the local side (the account or Region from which the delete is performed).Only use the
LOCAL_CONFIGURATION_ONLYmode in the case that Amazon EFS is unable to delete the replication configuration in both the source and destination account or Region. Deleting the local configuration leaves the configuration in the other account or Region unrecoverable.Additionally, do not use this mode for same-account, same-region replication as doing so results in a BadRequest exception error.
If the service returns an enum value that is not available in the current SDK version,
deletionModewill returnDeletionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeletionModeAsString().- Returns:
- When replicating across Amazon Web Services accounts or across Amazon Web Services Regions, Amazon EFS
deletes the replication configuration from both the source and destination account or Region (
ALL_CONFIGURATIONS) by default. If there's a configuration or permissions issue that prevents Amazon EFS from deleting the replication configuration from both sides, you can use theLOCAL_CONFIGURATION_ONLYmode to delete the replication configuration from only the local side (the account or Region from which the delete is performed).Only use the
LOCAL_CONFIGURATION_ONLYmode in the case that Amazon EFS is unable to delete the replication configuration in both the source and destination account or Region. Deleting the local configuration leaves the configuration in the other account or Region unrecoverable.Additionally, do not use this mode for same-account, same-region replication as doing so results in a BadRequest exception error.
- See Also:
DeletionMode
-
deletionModeAsString
public final String deletionModeAsString()
When replicating across Amazon Web Services accounts or across Amazon Web Services Regions, Amazon EFS deletes the replication configuration from both the source and destination account or Region (
ALL_CONFIGURATIONS) by default. If there's a configuration or permissions issue that prevents Amazon EFS from deleting the replication configuration from both sides, you can use theLOCAL_CONFIGURATION_ONLYmode to delete the replication configuration from only the local side (the account or Region from which the delete is performed).Only use the
LOCAL_CONFIGURATION_ONLYmode in the case that Amazon EFS is unable to delete the replication configuration in both the source and destination account or Region. Deleting the local configuration leaves the configuration in the other account or Region unrecoverable.Additionally, do not use this mode for same-account, same-region replication as doing so results in a BadRequest exception error.
If the service returns an enum value that is not available in the current SDK version,
deletionModewill returnDeletionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeletionModeAsString().- Returns:
- When replicating across Amazon Web Services accounts or across Amazon Web Services Regions, Amazon EFS
deletes the replication configuration from both the source and destination account or Region (
ALL_CONFIGURATIONS) by default. If there's a configuration or permissions issue that prevents Amazon EFS from deleting the replication configuration from both sides, you can use theLOCAL_CONFIGURATION_ONLYmode to delete the replication configuration from only the local side (the account or Region from which the delete is performed).Only use the
LOCAL_CONFIGURATION_ONLYmode in the case that Amazon EFS is unable to delete the replication configuration in both the source and destination account or Region. Deleting the local configuration leaves the configuration in the other account or Region unrecoverable.Additionally, do not use this mode for same-account, same-region replication as doing so results in a BadRequest exception error.
- See Also:
DeletionMode
-
toBuilder
public DeleteReplicationConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteReplicationConfigurationRequest.Builder,DeleteReplicationConfigurationRequest>- Specified by:
toBuilderin classEfsRequest
-
builder
public static DeleteReplicationConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteReplicationConfigurationRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-