@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Destination extends Object implements Serializable, Cloneable, StructuredPojo
Describes the destination file system in the replication configuration.
Constructor and Description |
---|
Destination() |
Modifier and Type | Method and Description |
---|---|
Destination |
clone() |
boolean |
equals(Object obj) |
String |
getFileSystemId()
The ID of the destination Amazon EFS file system.
|
Date |
getLastReplicatedTimestamp()
The time when the most recent sync was successfully completed on the destination file system.
|
String |
getRegion()
The Amazon Web Services Region in which the destination file system is located.
|
String |
getStatus()
Describes the status of the destination Amazon EFS file system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFileSystemId(String fileSystemId)
The ID of the destination Amazon EFS file system.
|
void |
setLastReplicatedTimestamp(Date lastReplicatedTimestamp)
The time when the most recent sync was successfully completed on the destination file system.
|
void |
setRegion(String region)
The Amazon Web Services Region in which the destination file system is located.
|
void |
setStatus(String status)
Describes the status of the destination Amazon EFS file system.
|
String |
toString()
Returns a string representation of this object.
|
Destination |
withFileSystemId(String fileSystemId)
The ID of the destination Amazon EFS file system.
|
Destination |
withLastReplicatedTimestamp(Date lastReplicatedTimestamp)
The time when the most recent sync was successfully completed on the destination file system.
|
Destination |
withRegion(String region)
The Amazon Web Services Region in which the destination file system is located.
|
Destination |
withStatus(ReplicationStatus status)
Describes the status of the destination Amazon EFS file system.
|
Destination |
withStatus(String status)
Describes the status of the destination Amazon EFS file system.
|
public void setStatus(String status)
Describes the status of the destination Amazon EFS file system. If the status is ERROR
, the
destination file system in the replication configuration is in a failed state and is unrecoverable. To access the
file system data, restore a backup of the failed file system to a new file system.
status
- Describes the status of the destination Amazon EFS file system. If the status is ERROR
, the
destination file system in the replication configuration is in a failed state and is unrecoverable. To
access the file system data, restore a backup of the failed file system to a new file system.ReplicationStatus
public String getStatus()
Describes the status of the destination Amazon EFS file system. If the status is ERROR
, the
destination file system in the replication configuration is in a failed state and is unrecoverable. To access the
file system data, restore a backup of the failed file system to a new file system.
ERROR
, the
destination file system in the replication configuration is in a failed state and is unrecoverable. To
access the file system data, restore a backup of the failed file system to a new file system.ReplicationStatus
public Destination withStatus(String status)
Describes the status of the destination Amazon EFS file system. If the status is ERROR
, the
destination file system in the replication configuration is in a failed state and is unrecoverable. To access the
file system data, restore a backup of the failed file system to a new file system.
status
- Describes the status of the destination Amazon EFS file system. If the status is ERROR
, the
destination file system in the replication configuration is in a failed state and is unrecoverable. To
access the file system data, restore a backup of the failed file system to a new file system.ReplicationStatus
public Destination withStatus(ReplicationStatus status)
Describes the status of the destination Amazon EFS file system. If the status is ERROR
, the
destination file system in the replication configuration is in a failed state and is unrecoverable. To access the
file system data, restore a backup of the failed file system to a new file system.
status
- Describes the status of the destination Amazon EFS file system. If the status is ERROR
, the
destination file system in the replication configuration is in a failed state and is unrecoverable. To
access the file system data, restore a backup of the failed file system to a new file system.ReplicationStatus
public void setFileSystemId(String fileSystemId)
The ID of the destination Amazon EFS file system.
fileSystemId
- The ID of the destination Amazon EFS file system.public String getFileSystemId()
The ID of the destination Amazon EFS file system.
public Destination withFileSystemId(String fileSystemId)
The ID of the destination Amazon EFS file system.
fileSystemId
- The ID of the destination Amazon EFS file system.public void setRegion(String region)
The Amazon Web Services Region in which the destination file system is located.
region
- The Amazon Web Services Region in which the destination file system is located.public String getRegion()
The Amazon Web Services Region in which the destination file system is located.
public Destination withRegion(String region)
The Amazon Web Services Region in which the destination file system is located.
region
- The Amazon Web Services Region in which the destination file system is located.public void setLastReplicatedTimestamp(Date 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.
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.public Date getLastReplicatedTimestamp()
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.
public Destination withLastReplicatedTimestamp(Date 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.
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.public String toString()
toString
in class Object
Object.toString()
public Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.