Class DescribeChangeSetResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.marketplacecatalog.model.MarketplaceCatalogResponse
-
- software.amazon.awssdk.services.marketplacecatalog.model.DescribeChangeSetResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeChangeSetResponse.Builder,DescribeChangeSetResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeChangeSetResponse extends MarketplaceCatalogResponse implements ToCopyableBuilder<DescribeChangeSetResponse.Builder,DescribeChangeSetResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeChangeSetResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeChangeSetResponse.Builderbuilder()List<ChangeSummary>changeSet()An array ofChangeSummaryobjects.StringchangeSetArn()The ARN associated with the unique identifier for the change set referenced in this request.StringchangeSetId()Required.StringchangeSetName()The optional name provided in theStartChangeSetrequest.StringendTime()The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request transitioned to a terminal state.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FailureCodefailureCode()Returned if the change set is inFAILEDstatus.StringfailureCodeAsString()Returned if the change set is inFAILEDstatus.StringfailureDescription()Returned if there is a failure on the change set, but that failure is not related to any of the changes in the request.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasChangeSet()For responses, this returns true if the service returned a value for the ChangeSet property.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DescribeChangeSetResponse.Builder>serializableBuilderClass()StringstartTime()The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request started.ChangeStatusstatus()The status of the change request.StringstatusAsString()The status of the change request.DescribeChangeSetResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.marketplacecatalog.model.MarketplaceCatalogResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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()
Required. The unique identifier for the change set referenced in this request.
- Returns:
- Required. The unique identifier for the change set referenced in this request.
-
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 optional name provided in the
StartChangeSetrequest. If you do not provide a name, one is set by default.- Returns:
- The optional name provided in the
StartChangeSetrequest. If you do not provide a name, one is set by default.
-
startTime
public final String startTime()
The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request started.
- Returns:
- The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request started.
-
endTime
public final String endTime()
The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request transitioned to a terminal state. The change cannot transition to a different state. Null if the request is not in a terminal state.
- Returns:
- The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request transitioned to a terminal state. The change cannot transition to a different state. Null if the request is not in a terminal state.
-
status
public final ChangeStatus status()
The status of the change request.
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 status of the change request.
- See Also:
ChangeStatus
-
statusAsString
public final String statusAsString()
The status of the change request.
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 status of the change request.
- See Also:
ChangeStatus
-
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 theErrorDetailList), 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 theErrorDetailList), 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 theErrorDetailList), 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 theErrorDetailList), orSERVER_FAULT, which means that there is a problem in the system, and you should retry your request. - See Also:
FailureCode
-
failureDescription
public final String failureDescription()
Returned if there is a failure on the change set, but that failure is not related to any of the changes in the request.
- Returns:
- Returned if there is a failure on the change set, but that failure is not related to any of the changes in the request.
-
hasChangeSet
public final boolean hasChangeSet()
For responses, this returns true if the service returned a value for the ChangeSet 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.
-
changeSet
public final List<ChangeSummary> changeSet()
An array of
ChangeSummaryobjects.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
hasChangeSet()method.- Returns:
- An array of
ChangeSummaryobjects.
-
toBuilder
public DescribeChangeSetResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeChangeSetResponse.Builder,DescribeChangeSetResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeChangeSetResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeChangeSetResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-