Class Destination
- java.lang.Object
-
- software.amazon.awssdk.services.efs.model.Destination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Destination.Builder,Destination>
@Generated("software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Destination.Builder,Destination>
Describes the destination file system in the replication configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Destination.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfileSystemId()The ID of the destination Amazon EFS file system.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastReplicatedTimestamp()The time when the most recent sync was successfully completed on the destination file system.StringownerId()ID of the Amazon Web Services account in which the destination file system resides.Stringregion()The Amazon Web Services Region in which the destination file system is located.StringroleArn()Amazon Resource Name (ARN) of the IAM role in the source account that allows Amazon EFS to perform replication on its behalf.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Destination.Builder>serializableBuilderClass()ReplicationStatusstatus()Describes the status of the replication configuration.StringstatusAsString()Describes the status of the replication configuration.StringstatusMessage()Message that provides details about thePAUSEDorERRRORstate of the replication destination configuration.Destination.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
-
status
public final ReplicationStatus status()
Describes the status of the replication configuration. For more information about replication status, see Viewing replication details in the Amazon EFS User Guide.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReplicationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Describes the status of the replication configuration. For more information about replication status, see Viewing replication details in the Amazon EFS User Guide.
- See Also:
ReplicationStatus
-
statusAsString
public final String statusAsString()
Describes the status of the replication configuration. For more information about replication status, see Viewing replication details in the Amazon EFS User Guide.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReplicationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Describes the status of the replication configuration. For more information about replication status, see Viewing replication details in the Amazon EFS User Guide.
- See Also:
ReplicationStatus
-
fileSystemId
public final String fileSystemId()
The ID of the destination Amazon EFS file system.
- Returns:
- The ID of the destination Amazon EFS file system.
-
region
public final String region()
The Amazon Web Services Region in which the destination file system is located.
- Returns:
- The Amazon Web Services Region in which the destination file system is located.
-
lastReplicatedTimestamp
public final Instant lastReplicatedTimestamp()
The time when the most recent sync was successfully completed on the destination file system. Any changes to data on the source file system that occurred before this time have been successfully replicated to the destination file system. Any changes that occurred after this time might not be fully replicated.
- Returns:
- The time when the most recent sync was successfully completed on the destination file system. Any changes to data on the source file system that occurred before this time have been successfully replicated to the destination file system. Any changes that occurred after this time might not be fully replicated.
-
ownerId
public final String ownerId()
ID of the Amazon Web Services account in which the destination file system resides.
- Returns:
- ID of the Amazon Web Services account in which the destination file system resides.
-
statusMessage
public final String statusMessage()
Message that provides details about the
PAUSEDorERRRORstate of the replication destination configuration. For more information about replication status messages, see Viewing replication details in the Amazon EFS User Guide.- Returns:
- Message that provides details about the
PAUSEDorERRRORstate of the replication destination configuration. For more information about replication status messages, see Viewing replication details in the Amazon EFS User Guide.
-
roleArn
public final String roleArn()
Amazon Resource Name (ARN) of the IAM role in the source account that allows Amazon EFS to perform replication on its behalf. This is optional for same-account replication and required for cross-account replication.
- Returns:
- Amazon Resource Name (ARN) of the IAM role in the source account that allows Amazon EFS to perform replication on its behalf. This is optional for same-account replication and required for cross-account replication.
-
toBuilder
public Destination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Destination.Builder,Destination>
-
builder
public static Destination.Builder builder()
-
serializableBuilderClass
public static Class<? extends Destination.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
-
-