Class UpdateFileSystemProtectionRequest
- 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.UpdateFileSystemProtectionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateFileSystemProtectionRequest.Builder,UpdateFileSystemProtectionRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateFileSystemProtectionRequest extends EfsRequest implements ToCopyableBuilder<UpdateFileSystemProtectionRequest.Builder,UpdateFileSystemProtectionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateFileSystemProtectionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateFileSystemProtectionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfileSystemId()The ID of the file system to update.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ReplicationOverwriteProtectionreplicationOverwriteProtection()The status of the file system's replication overwrite protection.StringreplicationOverwriteProtectionAsString()The status of the file system's replication overwrite protection.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateFileSystemProtectionRequest.Builder>serializableBuilderClass()UpdateFileSystemProtectionRequest.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
-
fileSystemId
public final String fileSystemId()
The ID of the file system to update.
- Returns:
- The ID of the file system to update.
-
replicationOverwriteProtection
public final ReplicationOverwriteProtection replicationOverwriteProtection()
The status of the file system's replication overwrite protection.
-
ENABLED– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLEDby default. -
DISABLED– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication. -
REPLICATING– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled and the file system becomes writeable.
If the service returns an enum value that is not available in the current SDK version,
replicationOverwriteProtectionwill returnReplicationOverwriteProtection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreplicationOverwriteProtectionAsString().- Returns:
- The status of the file system's replication overwrite protection.
-
ENABLED– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLEDby default. -
DISABLED– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication. -
REPLICATING– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled and the file system becomes writeable.
-
- See Also:
ReplicationOverwriteProtection
-
-
replicationOverwriteProtectionAsString
public final String replicationOverwriteProtectionAsString()
The status of the file system's replication overwrite protection.
-
ENABLED– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLEDby default. -
DISABLED– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication. -
REPLICATING– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled and the file system becomes writeable.
If the service returns an enum value that is not available in the current SDK version,
replicationOverwriteProtectionwill returnReplicationOverwriteProtection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreplicationOverwriteProtectionAsString().- Returns:
- The status of the file system's replication overwrite protection.
-
ENABLED– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLEDby default. -
DISABLED– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication. -
REPLICATING– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled and the file system becomes writeable.
-
- See Also:
ReplicationOverwriteProtection
-
-
toBuilder
public UpdateFileSystemProtectionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateFileSystemProtectionRequest.Builder,UpdateFileSystemProtectionRequest>- Specified by:
toBuilderin classEfsRequest
-
builder
public static UpdateFileSystemProtectionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateFileSystemProtectionRequest.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
-
-