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.Stringregion()The Amazon Web Services Region in which the destination file system is located.List<SdkField<?>>sdkFields()static Class<? extends Destination.Builder>serializableBuilderClass()ReplicationStatusstatus()Describes the status of the destination EFS file system.StringstatusAsString()Describes the status of the destination EFS file system.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 destination EFS file system.
-
The
Pausedstate occurs as a result of opting out of the source or destination Region after the replication configuration was created. To resume replication for the file system, you need to again opt in to the Amazon Web Services Region. For more information, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference Guide. -
The
Errorstate occurs when either the source or the destination file system (or both) is in a failed state and is unrecoverable. For more information, see Monitoring replication status in the Amazon EFS User Guide. You must delete the replication configuration, and then restore the most recent backup of the failed file system (either the source or the destination) to a new file system.
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 destination EFS file system.
-
The
Pausedstate occurs as a result of opting out of the source or destination Region after the replication configuration was created. To resume replication for the file system, you need to again opt in to the Amazon Web Services Region. For more information, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference Guide. -
The
Errorstate occurs when either the source or the destination file system (or both) is in a failed state and is unrecoverable. For more information, see Monitoring replication status in the Amazon EFS User Guide. You must delete the replication configuration, and then restore the most recent backup of the failed file system (either the source or the destination) to a new file system.
-
- See Also:
ReplicationStatus
-
-
statusAsString
public final String statusAsString()
Describes the status of the destination EFS file system.
-
The
Pausedstate occurs as a result of opting out of the source or destination Region after the replication configuration was created. To resume replication for the file system, you need to again opt in to the Amazon Web Services Region. For more information, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference Guide. -
The
Errorstate occurs when either the source or the destination file system (or both) is in a failed state and is unrecoverable. For more information, see Monitoring replication status in the Amazon EFS User Guide. You must delete the replication configuration, and then restore the most recent backup of the failed file system (either the source or the destination) to a new file system.
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 destination EFS file system.
-
The
Pausedstate occurs as a result of opting out of the source or destination Region after the replication configuration was created. To resume replication for the file system, you need to again opt in to the Amazon Web Services Region. For more information, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference Guide. -
The
Errorstate occurs when either the source or the destination file system (or both) is in a failed state and is unrecoverable. For more information, see Monitoring replication status in the Amazon EFS User Guide. You must delete the replication configuration, and then restore the most recent backup of the failed file system (either the source or the destination) to a new file system.
-
- 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.
-
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.
-
-