Class UpdateFileSystemProtectionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.efs.model.EfsResponse
-
- software.amazon.awssdk.services.efs.model.UpdateFileSystemProtectionResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateFileSystemProtectionResponse.Builder,UpdateFileSystemProtectionResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateFileSystemProtectionResponse extends EfsResponse implements ToCopyableBuilder<UpdateFileSystemProtectionResponse.Builder,UpdateFileSystemProtectionResponse>
Describes the protection on a file system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateFileSystemProtectionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateFileSystemProtectionResponse.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
ReplicationOverwriteProtection
replicationOverwriteProtection()
The status of the file system's replication overwrite protection.String
replicationOverwriteProtectionAsString()
The status of the file system's replication overwrite protection.List<SdkField<?>>
sdkFields()
static Class<? extends UpdateFileSystemProtectionResponse.Builder>
serializableBuilderClass()
UpdateFileSystemProtectionResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.efs.model.EfsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 isENABLED
by 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,
replicationOverwriteProtection
will 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 isENABLED
by 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 isENABLED
by 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,
replicationOverwriteProtection
will 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 isENABLED
by 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 UpdateFileSystemProtectionResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateFileSystemProtectionResponse.Builder,UpdateFileSystemProtectionResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static UpdateFileSystemProtectionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateFileSystemProtectionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
-