Class ChangeSetSummaryListItem
- java.lang.Object
-
- software.amazon.awssdk.services.marketplacecatalog.model.ChangeSetSummaryListItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChangeSetSummaryListItem.Builder,ChangeSetSummaryListItem>
@Generated("software.amazon.awssdk:codegen") public final class ChangeSetSummaryListItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChangeSetSummaryListItem.Builder,ChangeSetSummaryListItem>
A summary of a change set returned in a list of change sets when the
ListChangeSetsaction is called.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChangeSetSummaryListItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeSetSummaryListItem.Builderbuilder()StringchangeSetArn()The ARN associated with the unique identifier for the change set referenced in this request.StringchangeSetId()The unique identifier for a change set.StringchangeSetName()The non-unique name for the change set.StringendTime()The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was finished.List<String>entityIdList()This object is a list of entity IDs (string) that are a part of a change set.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FailureCodefailureCode()Returned if the change set is inFAILEDstatus.StringfailureCodeAsString()Returned if the change set is inFAILEDstatus.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasEntityIdList()For responses, this returns true if the service returned a value for the EntityIdList property.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ChangeSetSummaryListItem.Builder>serializableBuilderClass()StringstartTime()The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was started.ChangeStatusstatus()The current status of the change set.StringstatusAsString()The current status of the change set.ChangeSetSummaryListItem.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
-
changeSetId
public final String changeSetId()
The unique identifier for a change set.
- Returns:
- The unique identifier for a change set.
-
changeSetArn
public final String changeSetArn()
The ARN associated with the unique identifier for the change set referenced in this request.
- Returns:
- The ARN associated with the unique identifier for the change set referenced in this request.
-
changeSetName
public final String changeSetName()
The non-unique name for the change set.
- Returns:
- The non-unique name for the change set.
-
startTime
public final String startTime()
The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was started.
- Returns:
- The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was started.
-
endTime
public final String endTime()
The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was finished.
- Returns:
- The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was finished.
-
status
public final ChangeStatus status()
The current status of the change set.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnChangeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the change set.
- See Also:
ChangeStatus
-
statusAsString
public final String statusAsString()
The current status of the change set.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnChangeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the change set.
- See Also:
ChangeStatus
-
hasEntityIdList
public final boolean hasEntityIdList()
For responses, this returns true if the service returned a value for the EntityIdList property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
entityIdList
public final List<String> entityIdList()
This object is a list of entity IDs (string) that are a part of a change set. The entity ID list is a maximum of 20 entities. It must contain at least one entity.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasEntityIdList()method.- Returns:
- This object is a list of entity IDs (string) that are a part of a change set. The entity ID list is a maximum of 20 entities. It must contain at least one entity.
-
failureCode
public final FailureCode failureCode()
Returned if the change set is in
FAILEDstatus. Can be eitherCLIENT_ERROR, which means that there are issues with the request (see theErrorDetailListofDescribeChangeSet), orSERVER_FAULT, which means that there is a problem in the system, and you should retry your request.If the service returns an enum value that is not available in the current SDK version,
failureCodewill returnFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureCodeAsString().- Returns:
- Returned if the change set is in
FAILEDstatus. Can be eitherCLIENT_ERROR, which means that there are issues with the request (see theErrorDetailListofDescribeChangeSet), orSERVER_FAULT, which means that there is a problem in the system, and you should retry your request. - See Also:
FailureCode
-
failureCodeAsString
public final String failureCodeAsString()
Returned if the change set is in
FAILEDstatus. Can be eitherCLIENT_ERROR, which means that there are issues with the request (see theErrorDetailListofDescribeChangeSet), orSERVER_FAULT, which means that there is a problem in the system, and you should retry your request.If the service returns an enum value that is not available in the current SDK version,
failureCodewill returnFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureCodeAsString().- Returns:
- Returned if the change set is in
FAILEDstatus. Can be eitherCLIENT_ERROR, which means that there are issues with the request (see theErrorDetailListofDescribeChangeSet), orSERVER_FAULT, which means that there is a problem in the system, and you should retry your request. - See Also:
FailureCode
-
toBuilder
public ChangeSetSummaryListItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChangeSetSummaryListItem.Builder,ChangeSetSummaryListItem>
-
builder
public static ChangeSetSummaryListItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChangeSetSummaryListItem.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.
-
-