Class ChangeSetSummary
- java.lang.Object
-
- software.amazon.awssdk.services.cloudformation.model.ChangeSetSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChangeSetSummary.Builder,ChangeSetSummary>
@Generated("software.amazon.awssdk:codegen") public final class ChangeSetSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChangeSetSummary.Builder,ChangeSetSummary>
The
ChangeSetSummarystructure describes a change set, its status, and the stack with which it's associated.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChangeSetSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeSetSummary.Builderbuilder()StringchangeSetId()The ID of the change set.StringchangeSetName()The name of the change set.InstantcreationTime()The start time when the change set was created, in UTC.Stringdescription()Descriptive information about the change set.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExecutionStatusexecutionStatus()If the change set execution status isAVAILABLE, you can execute the change set.StringexecutionStatusAsString()If the change set execution status isAVAILABLE, you can execute the change set.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanimportExistingResources()Indicates if the change set imports resources that already exist.BooleanincludeNestedStacks()Specifies the current setting ofIncludeNestedStacksfor the change set.StringparentChangeSetId()The parent change set ID.StringrootChangeSetId()The root change set ID.List<SdkField<?>>sdkFields()static Class<? extends ChangeSetSummary.Builder>serializableBuilderClass()StringstackId()The ID of the stack with which the change set is associated.StringstackName()The name of the stack with which the change set is associated.ChangeSetStatusstatus()The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.StringstatusAsString()The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.StringstatusReason()A description of the change set's status.ChangeSetSummary.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
-
stackId
public final String stackId()
The ID of the stack with which the change set is associated.
- Returns:
- The ID of the stack with which the change set is associated.
-
stackName
public final String stackName()
The name of the stack with which the change set is associated.
- Returns:
- The name of the stack with which the change set is associated.
-
changeSetId
public final String changeSetId()
The ID of the change set.
- Returns:
- The ID of the change set.
-
changeSetName
public final String changeSetName()
The name of the change set.
- Returns:
- The name of the change set.
-
executionStatus
public final ExecutionStatus executionStatus()
If the change set execution status is
AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.If the service returns an enum value that is not available in the current SDK version,
executionStatuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutionStatusAsString().- Returns:
- If the change set execution status is
AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated. - See Also:
ExecutionStatus
-
executionStatusAsString
public final String executionStatusAsString()
If the change set execution status is
AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.If the service returns an enum value that is not available in the current SDK version,
executionStatuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutionStatusAsString().- Returns:
- If the change set execution status is
AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated. - See Also:
ExecutionStatus
-
status
public final ChangeSetStatus status()
The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnChangeSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED. - See Also:
ChangeSetStatus
-
statusAsString
public final String statusAsString()
The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnChangeSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED. - See Also:
ChangeSetStatus
-
statusReason
public final String statusReason()
A description of the change set's status. For example, if your change set is in the
FAILEDstate, CloudFormation shows the error message.- Returns:
- A description of the change set's status. For example, if your change set is in the
FAILEDstate, CloudFormation shows the error message.
-
creationTime
public final Instant creationTime()
The start time when the change set was created, in UTC.
- Returns:
- The start time when the change set was created, in UTC.
-
description
public final String description()
Descriptive information about the change set.
- Returns:
- Descriptive information about the change set.
-
includeNestedStacks
public final Boolean includeNestedStacks()
Specifies the current setting of
IncludeNestedStacksfor the change set.- Returns:
- Specifies the current setting of
IncludeNestedStacksfor the change set.
-
parentChangeSetId
public final String parentChangeSetId()
The parent change set ID.
- Returns:
- The parent change set ID.
-
rootChangeSetId
public final String rootChangeSetId()
The root change set ID.
- Returns:
- The root change set ID.
-
importExistingResources
public final Boolean importExistingResources()
Indicates if the change set imports resources that already exist.
- Returns:
- Indicates if the change set imports resources that already exist.
-
toBuilder
public ChangeSetSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChangeSetSummary.Builder,ChangeSetSummary>
-
builder
public static ChangeSetSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChangeSetSummary.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.
-
-