@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). |
String |
getLastSyncStatusMessage()
The status message details reported by the last sync.
|
Date |
getLastSyncTime()
The last time the configuration attempted to sync (UTC).
|
ResourceDataSyncS3Destination |
getS3Destination()
Configuration information for the target S3 bucket.
|
Date |
getSyncCreatedTime()
The date and time the configuration was created (UTC).
|
Date |
getSyncLastModifiedTime()
The date and time the resource data sync was changed.
|
String |
getSyncName()
The name of the resource data sync.
|
ResourceDataSyncSourceWithState |
getSyncSource()
Information about the source where the data was synchronized.
|
String |
getSyncType()
The type of 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 |
setLastSyncStatusMessage(String lastSyncStatusMessage)
The status message details reported by the last sync.
|
void |
setLastSyncTime(Date lastSyncTime)
The last time the configuration attempted to sync (UTC).
|
void |
setS3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target S3 bucket.
|
void |
setSyncCreatedTime(Date syncCreatedTime)
The date and time the configuration was created (UTC).
|
void |
setSyncLastModifiedTime(Date syncLastModifiedTime)
The date and time the resource data sync was changed.
|
void |
setSyncName(String syncName)
The name of the resource data sync.
|
void |
setSyncSource(ResourceDataSyncSourceWithState syncSource)
Information about the source where the data was synchronized.
|
void |
setSyncType(String syncType)
The type of resource data sync.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withLastSyncStatusMessage(String lastSyncStatusMessage)
The status message details reported by the last sync.
|
ResourceDataSyncItem |
withLastSyncTime(Date lastSyncTime)
The last time the configuration attempted to sync (UTC).
|
ResourceDataSyncItem |
withS3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target S3 bucket.
|
ResourceDataSyncItem |
withSyncCreatedTime(Date syncCreatedTime)
The date and time the configuration was created (UTC).
|
ResourceDataSyncItem |
withSyncLastModifiedTime(Date syncLastModifiedTime)
The date and time the resource data sync was changed.
|
ResourceDataSyncItem |
withSyncName(String syncName)
The name of the resource data sync.
|
ResourceDataSyncItem |
withSyncSource(ResourceDataSyncSourceWithState syncSource)
Information about the source where the data was synchronized.
|
ResourceDataSyncItem |
withSyncType(String syncType)
The type of 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 setSyncType(String syncType)
The type of resource data sync. If SyncType
is SyncToDestination
, then the resource
data sync synchronizes data to an S3 bucket. If the SyncType
is SyncFromSource
then the
resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
syncType
- The type of resource data sync. If SyncType
is SyncToDestination
, then the
resource data sync synchronizes data to an S3 bucket. If the SyncType
is
SyncFromSource
then the resource data sync synchronizes data from Organizations or from
multiple Amazon Web Services Regions.public String getSyncType()
The type of resource data sync. If SyncType
is SyncToDestination
, then the resource
data sync synchronizes data to an S3 bucket. If the SyncType
is SyncFromSource
then the
resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
SyncType
is SyncToDestination
, then the
resource data sync synchronizes data to an S3 bucket. If the SyncType
is
SyncFromSource
then the resource data sync synchronizes data from Organizations or from
multiple Amazon Web Services Regions.public ResourceDataSyncItem withSyncType(String syncType)
The type of resource data sync. If SyncType
is SyncToDestination
, then the resource
data sync synchronizes data to an S3 bucket. If the SyncType
is SyncFromSource
then the
resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
syncType
- The type of resource data sync. If SyncType
is SyncToDestination
, then the
resource data sync synchronizes data to an S3 bucket. If the SyncType
is
SyncFromSource
then the resource data sync synchronizes data from Organizations or from
multiple Amazon Web Services Regions.public void setSyncSource(ResourceDataSyncSourceWithState syncSource)
Information about the source where the data was synchronized.
syncSource
- Information about the source where the data was synchronized.public ResourceDataSyncSourceWithState getSyncSource()
Information about the source where the data was synchronized.
public ResourceDataSyncItem withSyncSource(ResourceDataSyncSourceWithState syncSource)
Information about the source where the data was synchronized.
syncSource
- Information about the source where the data was synchronized.public void setS3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target S3 bucket.
s3Destination
- Configuration information for the target S3 bucket.public ResourceDataSyncS3Destination getS3Destination()
Configuration information for the target S3 bucket.
public ResourceDataSyncItem withS3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target S3 bucket.
s3Destination
- Configuration information for the target 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 setSyncLastModifiedTime(Date syncLastModifiedTime)
The date and time the resource data sync was changed.
syncLastModifiedTime
- The date and time the resource data sync was changed.public Date getSyncLastModifiedTime()
The date and time the resource data sync was changed.
public ResourceDataSyncItem withSyncLastModifiedTime(Date syncLastModifiedTime)
The date and time the resource data sync was changed.
syncLastModifiedTime
- The date and time the resource data sync was changed.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 void setLastSyncStatusMessage(String lastSyncStatusMessage)
The status message details reported by the last sync.
lastSyncStatusMessage
- The status message details reported by the last sync.public String getLastSyncStatusMessage()
The status message details reported by the last sync.
public ResourceDataSyncItem withLastSyncStatusMessage(String lastSyncStatusMessage)
The status message details reported by the last sync.
lastSyncStatusMessage
- The status message details reported by the last sync.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.