Class LastSync
- java.lang.Object
-
- software.amazon.awssdk.services.servicecatalog.model.LastSync
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LastSync.Builder,LastSync>
@Generated("software.amazon.awssdk:codegen") public final class LastSync extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LastSync.Builder,LastSync>
Provides details about the product's connection sync and contains the following sub-fields.
-
LastSyncTime -
LastSyncStatus -
LastSyncStatusMessage -
LastSuccessfulSyncTime -
LastSuccessfulSyncProvisioningArtifactID
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLastSync.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LastSync.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastSuccessfulSyncProvisioningArtifactId()The ProvisioningArtifactID of the ProvisioningArtifact created from the latest successful sync.InstantlastSuccessfulSyncTime()The time of the latest successful sync from the source repo artifact to the Service Catalog product.LastSyncStatuslastSyncStatus()The current status of the sync.StringlastSyncStatusAsString()The current status of the sync.StringlastSyncStatusMessage()The sync's status message.InstantlastSyncTime()The time of the last attempted sync from the repository to the Service Catalog product.List<SdkField<?>>sdkFields()static Class<? extends LastSync.Builder>serializableBuilderClass()LastSync.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
-
lastSyncTime
public final Instant lastSyncTime()
The time of the last attempted sync from the repository to the Service Catalog product.
- Returns:
- The time of the last attempted sync from the repository to the Service Catalog product.
-
lastSyncStatus
public final LastSyncStatus lastSyncStatus()
The current status of the sync. Responses include
SUCCEEDEDorFAILED.If the service returns an enum value that is not available in the current SDK version,
lastSyncStatuswill returnLastSyncStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastSyncStatusAsString().- Returns:
- The current status of the sync. Responses include
SUCCEEDEDorFAILED. - See Also:
LastSyncStatus
-
lastSyncStatusAsString
public final String lastSyncStatusAsString()
The current status of the sync. Responses include
SUCCEEDEDorFAILED.If the service returns an enum value that is not available in the current SDK version,
lastSyncStatuswill returnLastSyncStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastSyncStatusAsString().- Returns:
- The current status of the sync. Responses include
SUCCEEDEDorFAILED. - See Also:
LastSyncStatus
-
lastSyncStatusMessage
public final String lastSyncStatusMessage()
The sync's status message.
- Returns:
- The sync's status message.
-
lastSuccessfulSyncTime
public final Instant lastSuccessfulSyncTime()
The time of the latest successful sync from the source repo artifact to the Service Catalog product.
- Returns:
- The time of the latest successful sync from the source repo artifact to the Service Catalog product.
-
lastSuccessfulSyncProvisioningArtifactId
public final String lastSuccessfulSyncProvisioningArtifactId()
The ProvisioningArtifactID of the ProvisioningArtifact created from the latest successful sync.
- Returns:
- The ProvisioningArtifactID of the ProvisioningArtifact created from the latest successful sync.
-
toBuilder
public LastSync.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LastSync.Builder,LastSync>
-
builder
public static LastSync.Builder builder()
-
serializableBuilderClass
public static Class<? extends LastSync.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.
-
-