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 interface
UpdateFileSystemProtectionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateFileSystemProtectionRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
fileSystemId()
The ID of the file system to update.<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 UpdateFileSystemProtectionRequest.Builder>
serializableBuilderClass()
UpdateFileSystemProtectionRequest.Builder
toBuilder()
String
toString()
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 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 UpdateFileSystemProtectionRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateFileSystemProtectionRequest.Builder,UpdateFileSystemProtectionRequest>
- Specified by:
toBuilder
in classEfsRequest
-
builder
public static UpdateFileSystemProtectionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateFileSystemProtectionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
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 classSdkRequest
-
-