Class FileSystemProtectionDescription
- java.lang.Object
-
- software.amazon.awssdk.services.efs.model.FileSystemProtectionDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FileSystemProtectionDescription.Builder,FileSystemProtectionDescription>
@Generated("software.amazon.awssdk:codegen") public final class FileSystemProtectionDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FileSystemProtectionDescription.Builder,FileSystemProtectionDescription>
Describes the protection on a file system.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFileSystemProtectionDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileSystemProtectionDescription.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<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 FileSystemProtectionDescription.Builder>serializableBuilderClass()FileSystemProtectionDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
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, 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, 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, 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, the file system becomes writeable.
-
- See Also:
ReplicationOverwriteProtection
-
-
toBuilder
public FileSystemProtectionDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FileSystemProtectionDescription.Builder,FileSystemProtectionDescription>
-
builder
public static FileSystemProtectionDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends FileSystemProtectionDescription.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-