@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDataSyncItem extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Resource Data Sync configuration, including its current status and last successful sync.
Constructor and Description |
---|
ResourceDataSyncItem() |
Modifier and Type | Method and Description |
---|---|
ResourceDataSyncItem |
clone() |
boolean |
equals(Object obj) |
String |
getLastStatus()
The status reported by the last sync.
|
Date |
getLastSuccessfulSyncTime()
The last time the sync operations returned a status of
SUCCESSFUL (UTC). |
Date |
getLastSyncTime()
The last time the configuration attempted to sync (UTC).
|
ResourceDataSyncS3Destination |
getS3Destination()
Configuration information for the target Amazon S3 bucket.
|
Date |
getSyncCreatedTime()
The date and time the configuration was created (UTC).
|
String |
getSyncName()
The name of the Resource Data Sync.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastStatus(LastResourceDataSyncStatus lastStatus)
The status reported by the last sync.
|
void |
setLastStatus(String lastStatus)
The status reported by the last sync.
|
void |
setLastSuccessfulSyncTime(Date lastSuccessfulSyncTime)
The last time the sync operations returned a status of
SUCCESSFUL (UTC). |
void |
setLastSyncTime(Date lastSyncTime)
The last time the configuration attempted to sync (UTC).
|
void |
setS3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target Amazon S3 bucket.
|
void |
setSyncCreatedTime(Date syncCreatedTime)
The date and time the configuration was created (UTC).
|
void |
setSyncName(String syncName)
The name of the Resource Data Sync.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResourceDataSyncItem |
withLastStatus(LastResourceDataSyncStatus lastStatus)
The status reported by the last sync.
|
ResourceDataSyncItem |
withLastStatus(String lastStatus)
The status reported by the last sync.
|
ResourceDataSyncItem |
withLastSuccessfulSyncTime(Date lastSuccessfulSyncTime)
The last time the sync operations returned a status of
SUCCESSFUL (UTC). |
ResourceDataSyncItem |
withLastSyncTime(Date lastSyncTime)
The last time the configuration attempted to sync (UTC).
|
ResourceDataSyncItem |
withS3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target Amazon S3 bucket.
|
ResourceDataSyncItem |
withSyncCreatedTime(Date syncCreatedTime)
The date and time the configuration was created (UTC).
|
ResourceDataSyncItem |
withSyncName(String syncName)
The name of the Resource Data Sync.
|
public void setSyncName(String syncName)
The name of the Resource Data Sync.
syncName
- The name of the Resource Data Sync.public String getSyncName()
The name of the Resource Data Sync.
public ResourceDataSyncItem withSyncName(String syncName)
The name of the Resource Data Sync.
syncName
- The name of the Resource Data Sync.public void setS3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target Amazon S3 bucket.
s3Destination
- Configuration information for the target Amazon S3 bucket.public ResourceDataSyncS3Destination getS3Destination()
Configuration information for the target Amazon S3 bucket.
public ResourceDataSyncItem withS3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target Amazon S3 bucket.
s3Destination
- Configuration information for the target Amazon S3 bucket.public void setLastSyncTime(Date lastSyncTime)
The last time the configuration attempted to sync (UTC).
lastSyncTime
- The last time the configuration attempted to sync (UTC).public Date getLastSyncTime()
The last time the configuration attempted to sync (UTC).
public ResourceDataSyncItem withLastSyncTime(Date lastSyncTime)
The last time the configuration attempted to sync (UTC).
lastSyncTime
- The last time the configuration attempted to sync (UTC).public void setLastSuccessfulSyncTime(Date lastSuccessfulSyncTime)
The last time the sync operations returned a status of SUCCESSFUL
(UTC).
lastSuccessfulSyncTime
- The last time the sync operations returned a status of SUCCESSFUL
(UTC).public Date getLastSuccessfulSyncTime()
The last time the sync operations returned a status of SUCCESSFUL
(UTC).
SUCCESSFUL
(UTC).public ResourceDataSyncItem withLastSuccessfulSyncTime(Date lastSuccessfulSyncTime)
The last time the sync operations returned a status of SUCCESSFUL
(UTC).
lastSuccessfulSyncTime
- The last time the sync operations returned a status of SUCCESSFUL
(UTC).public void setLastStatus(String lastStatus)
The status reported by the last sync.
lastStatus
- The status reported by the last sync.LastResourceDataSyncStatus
public String getLastStatus()
The status reported by the last sync.
LastResourceDataSyncStatus
public ResourceDataSyncItem withLastStatus(String lastStatus)
The status reported by the last sync.
lastStatus
- The status reported by the last sync.LastResourceDataSyncStatus
public void setLastStatus(LastResourceDataSyncStatus lastStatus)
The status reported by the last sync.
lastStatus
- The status reported by the last sync.LastResourceDataSyncStatus
public ResourceDataSyncItem withLastStatus(LastResourceDataSyncStatus lastStatus)
The status reported by the last sync.
lastStatus
- The status reported by the last sync.LastResourceDataSyncStatus
public void setSyncCreatedTime(Date syncCreatedTime)
The date and time the configuration was created (UTC).
syncCreatedTime
- The date and time the configuration was created (UTC).public Date getSyncCreatedTime()
The date and time the configuration was created (UTC).
public ResourceDataSyncItem withSyncCreatedTime(Date syncCreatedTime)
The date and time the configuration was created (UTC).
syncCreatedTime
- The date and time the configuration was created (UTC).public String toString()
toString
in class Object
Object.toString()
public ResourceDataSyncItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.