Class ResourceDataSyncItem
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.ResourceDataSyncItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
@Generated("software.amazon.awssdk:codegen") public final class ResourceDataSyncItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
Information about a resource data sync configuration, including its current status and last successful sync.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceDataSyncItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceDataSyncItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LastResourceDataSyncStatuslastStatus()The status reported by the last sync.StringlastStatusAsString()The status reported by the last sync.InstantlastSuccessfulSyncTime()The last time the sync operations returned a status ofSUCCESSFUL(UTC).StringlastSyncStatusMessage()The status message details reported by the last sync.InstantlastSyncTime()The last time the configuration attempted to sync (UTC).ResourceDataSyncS3Destinations3Destination()Configuration information for the target S3 bucket.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ResourceDataSyncItem.Builder>serializableBuilderClass()InstantsyncCreatedTime()The date and time the configuration was created (UTC).InstantsyncLastModifiedTime()The date and time the resource data sync was changed.StringsyncName()The name of the resource data sync.ResourceDataSyncSourceWithStatesyncSource()Information about the source where the data was synchronized.StringsyncType()The type of resource data sync.ResourceDataSyncItem.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
-
syncName
public final String syncName()
The name of the resource data sync.
- Returns:
- The name of the resource data sync.
-
syncType
public final String syncType()
The type of resource data sync. If
SyncTypeisSyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If theSyncTypeisSyncFromSourcethen the resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.- Returns:
- The type of resource data sync. If
SyncTypeisSyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If theSyncTypeisSyncFromSourcethen the resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
-
syncSource
public final ResourceDataSyncSourceWithState syncSource()
Information about the source where the data was synchronized.
- Returns:
- Information about the source where the data was synchronized.
-
s3Destination
public final ResourceDataSyncS3Destination s3Destination()
Configuration information for the target S3 bucket.
- Returns:
- Configuration information for the target S3 bucket.
-
lastSyncTime
public final Instant lastSyncTime()
The last time the configuration attempted to sync (UTC).
- Returns:
- The last time the configuration attempted to sync (UTC).
-
lastSuccessfulSyncTime
public final Instant lastSuccessfulSyncTime()
The last time the sync operations returned a status of
SUCCESSFUL(UTC).- Returns:
- The last time the sync operations returned a status of
SUCCESSFUL(UTC).
-
syncLastModifiedTime
public final Instant syncLastModifiedTime()
The date and time the resource data sync was changed.
- Returns:
- The date and time the resource data sync was changed.
-
lastStatus
public final LastResourceDataSyncStatus lastStatus()
The status reported by the last sync.
If the service returns an enum value that is not available in the current SDK version,
lastStatuswill returnLastResourceDataSyncStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastStatusAsString().- Returns:
- The status reported by the last sync.
- See Also:
LastResourceDataSyncStatus
-
lastStatusAsString
public final String lastStatusAsString()
The status reported by the last sync.
If the service returns an enum value that is not available in the current SDK version,
lastStatuswill returnLastResourceDataSyncStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastStatusAsString().- Returns:
- The status reported by the last sync.
- See Also:
LastResourceDataSyncStatus
-
syncCreatedTime
public final Instant syncCreatedTime()
The date and time the configuration was created (UTC).
- Returns:
- The date and time the configuration was created (UTC).
-
lastSyncStatusMessage
public final String lastSyncStatusMessage()
The status message details reported by the last sync.
- Returns:
- The status message details reported by the last sync.
-
toBuilder
public ResourceDataSyncItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
-
builder
public static ResourceDataSyncItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceDataSyncItem.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
-
-