Class DescribeChangeSetResponse
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DescribeChangeSetResponse.Builder,
DescribeChangeSetResponse>
The output for the DescribeChangeSet action.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final List
<Capability> If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.changes()
A list ofChange
structures that describes the resources CloudFormation changes if you execute the change set.final String
The Amazon Resource Name (ARN) of the change set.final String
The name of the change set.final Instant
The start time when the change set was created, in UTC.final String
Information about the change set.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExecutionStatus
If the change set execution status isAVAILABLE
, you can execute the change set.final String
If the change set execution status isAVAILABLE
, you can execute the change set.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkResponse
.final boolean
For responses, this returns true if the service returned a value for the Capabilities property.final boolean
For responses, this returns true if the service returned a value for the Changes property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the NotificationARNs property.final boolean
For responses, this returns true if the service returned a value for the Parameters property.final boolean
hasTags()
For responses, this returns true if the service returned a value for the Tags property.final Boolean
Indicates if the change set imports resources that already exist.final Boolean
Verifies ifIncludeNestedStacks
is set toTrue
.final String
If the output exceeds 1 MB, a string that identifies the next page of changes.The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.final OnStackFailure
Determines what action will be taken if stack creation fails.final String
Determines what action will be taken if stack creation fails.A list ofParameter
structures that describes the input parameters and their values used to create the change set.final String
Specifies the change set ID of the parent change set in the current nested change set hierarchy.final RollbackConfiguration
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.final String
Specifies the change set ID of the root change set in the current nested change set hierarchy.static Class
<? extends DescribeChangeSetResponse.Builder> final String
stackId()
The Amazon Resource Name (ARN) of the stack that's associated with the change set.final String
The name of the stack that's associated with the change set.final ChangeSetStatus
status()
The current status of the change set, such asCREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
.final String
The current status of the change set, such asCREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
.final String
A description of the change set's status.tags()
If you execute the change set, the tags that will be associated with the stack.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.cloudformation.model.CloudFormationResponse
responseMetadata
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
changeSetName
The name of the change set.
- Returns:
- The name of the change set.
-
changeSetId
The Amazon Resource Name (ARN) of the change set.
- Returns:
- The Amazon Resource Name (ARN) of the change set.
-
stackId
The Amazon Resource Name (ARN) of the stack that's associated with the change set.
- Returns:
- The Amazon Resource Name (ARN) of the stack that's associated with the change set.
-
stackName
The name of the stack that's associated with the change set.
- Returns:
- The name of the stack that's associated with the change set.
-
description
Information about the change set.
- Returns:
- Information about the change set.
-
hasParameters
public final boolean hasParameters()For responses, this returns true if the service returned a value for the Parameters 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. -
parameters
A list of
Parameter
structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type.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
hasParameters()
method.- Returns:
- A list of
Parameter
structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type.
-
creationTime
The start time when the change set was created, in UTC.
- Returns:
- The start time when the change set was created, in UTC.
-
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 anUNAVAILABLE
state because CloudFormation is still creating it or in anOBSOLETE
state because the stack was already updated.If the service returns an enum value that is not available in the current SDK version,
executionStatus
will 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 anUNAVAILABLE
state because CloudFormation is still creating it or in anOBSOLETE
state because the stack was already updated. - See Also:
-
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 anUNAVAILABLE
state because CloudFormation is still creating it or in anOBSOLETE
state because the stack was already updated.If the service returns an enum value that is not available in the current SDK version,
executionStatus
will 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 anUNAVAILABLE
state because CloudFormation is still creating it or in anOBSOLETE
state because the stack was already updated. - See Also:
-
status
The current status 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,
status
will returnChangeSetStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current status of the change set, such as
CREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
. - See Also:
-
statusAsString
The current status 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,
status
will returnChangeSetStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current status of the change set, such as
CREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
. - See Also:
-
statusReason
A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.
- Returns:
- A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.
-
hasNotificationARNs
public final boolean hasNotificationARNs()For responses, this returns true if the service returned a value for the NotificationARNs 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. -
notificationARNs
The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.
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
hasNotificationARNs()
method.- Returns:
- The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.
-
rollbackConfiguration
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
- Returns:
- The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
-
capabilities
If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
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
hasCapabilities()
method.- Returns:
- If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
-
hasCapabilities
public final boolean hasCapabilities()For responses, this returns true if the service returned a value for the Capabilities 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. -
capabilitiesAsStrings
If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
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
hasCapabilities()
method.- Returns:
- If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags 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. -
tags
If you execute the change set, the tags that will be associated with the stack.
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
hasTags()
method.- Returns:
- If you execute the change set, the tags that will be associated with the stack.
-
hasChanges
public final boolean hasChanges()For responses, this returns true if the service returned a value for the Changes 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. -
changes
A list of
Change
structures that describes the resources CloudFormation changes if you execute the change set.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
hasChanges()
method.- Returns:
- A list of
Change
structures that describes the resources CloudFormation changes if you execute the change set.
-
nextToken
If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null.
- Returns:
- If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null.
-
includeNestedStacks
Verifies if
IncludeNestedStacks
is set toTrue
.- Returns:
- Verifies if
IncludeNestedStacks
is set toTrue
.
-
parentChangeSetId
Specifies the change set ID of the parent change set in the current nested change set hierarchy.
- Returns:
- Specifies the change set ID of the parent change set in the current nested change set hierarchy.
-
rootChangeSetId
Specifies the change set ID of the root change set in the current nested change set hierarchy.
- Returns:
- Specifies the change set ID of the root change set in the current nested change set hierarchy.
-
onStackFailure
Determines what action will be taken if stack creation fails. When this parameter is specified, the
DisableRollback
parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:-
DELETE
- Deletes the change set if the stack creation fails. This is only valid when theChangeSetType
parameter is set toCREATE
. If the deletion of the stack fails, the status of the stack isDELETE_FAILED
. -
DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent to specifyingtrue
for theDisableRollback
parameter to the ExecuteChangeSet API operation. -
ROLLBACK
- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalse
for theDisableRollback
parameter to the ExecuteChangeSet API operation.
If the service returns an enum value that is not available in the current SDK version,
onStackFailure
will returnOnStackFailure.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromonStackFailureAsString()
.- Returns:
- Determines what action will be taken if stack creation fails. When this parameter is specified, the
DisableRollback
parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:-
DELETE
- Deletes the change set if the stack creation fails. This is only valid when theChangeSetType
parameter is set toCREATE
. If the deletion of the stack fails, the status of the stack isDELETE_FAILED
. -
DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent to specifyingtrue
for theDisableRollback
parameter to the ExecuteChangeSet API operation. -
ROLLBACK
- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalse
for theDisableRollback
parameter to the ExecuteChangeSet API operation.
-
- See Also:
-
-
onStackFailureAsString
Determines what action will be taken if stack creation fails. When this parameter is specified, the
DisableRollback
parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:-
DELETE
- Deletes the change set if the stack creation fails. This is only valid when theChangeSetType
parameter is set toCREATE
. If the deletion of the stack fails, the status of the stack isDELETE_FAILED
. -
DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent to specifyingtrue
for theDisableRollback
parameter to the ExecuteChangeSet API operation. -
ROLLBACK
- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalse
for theDisableRollback
parameter to the ExecuteChangeSet API operation.
If the service returns an enum value that is not available in the current SDK version,
onStackFailure
will returnOnStackFailure.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromonStackFailureAsString()
.- Returns:
- Determines what action will be taken if stack creation fails. When this parameter is specified, the
DisableRollback
parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:-
DELETE
- Deletes the change set if the stack creation fails. This is only valid when theChangeSetType
parameter is set toCREATE
. If the deletion of the stack fails, the status of the stack isDELETE_FAILED
. -
DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent to specifyingtrue
for theDisableRollback
parameter to the ExecuteChangeSet API operation. -
ROLLBACK
- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalse
for theDisableRollback
parameter to the ExecuteChangeSet API operation.
-
- See Also:
-
-
importExistingResources
Indicates if the change set imports resources that already exist.
This parameter can only import resources that have custom names in templates. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead.
- Returns:
- Indicates if the change set imports resources that already exist.
This parameter can only import resources that have custom names in templates. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeChangeSetResponse.Builder,
DescribeChangeSetResponse> - Specified by:
toBuilder
in classAwsResponse
- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classAwsResponse
-
equals
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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
Description copied from class:SdkResponse
Used to retrieve the value of a field from any class that extendsSdkResponse
. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkResponse.getValueForField(String, Class)
method will again be available.- Overrides:
getValueForField
in classSdkResponse
- Parameters:
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-