All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.cloudformation.model.ContinueUpdateRollbackRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS CloudFormation module holds the client classes that are used for communicating with AWS CloudFormation Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.cloudformation.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 

* The input for the ContinueUpdateRollback action. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ContinueUpdateRollbackRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The name or the unique ID of the stack that you want to continue rolling back. *

* *

* Don't specify the name of a nested stack (a stack that was created by using the * AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack * that contains the AWS::CloudFormation::Stack resource). *

*
*/ private String stackName; /** *

* The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to * roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation * always uses this role for all future operations on the stack. As long as users have permission to operate on the * stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role * grants least privilege. *

*

* If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no * role is available, CloudFormation uses a temporary session that is generated from your user credentials. *

*/ private String roleARN; /** *

* A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback * operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback * failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for * example, because an update was cancelled. To check why a resource update failed, use the * DescribeStackResources action, and view the resource status reason. *

* *

* Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We * recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to * UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of * the skipped resources will be inconsistent with the state of the resources in the stack template. Before * performing another stack update, you must update the stack or resources to be consistent with each other. If you * don't, subsequent stack updates might fail, and the stack will become unrecoverable. *

*
*

* Specify the minimum number of resources required to successfully roll back your stack. For example, a failed * resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the * dependent resources. *

*

* To skip resources that are part of nested stacks, use the following format: * NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource ( * Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding * embedded stack must be in one of the following states: DELETE_IN_PROGRESS, * DELETE_COMPLETE, or DELETE_FAILED. *

* *

* Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example * of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. *

*
*/ private com.amazonaws.internal.SdkInternalList resourcesToSkip; /** *

* A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to retry * requests so that CloudFormationknows that you're not attempting to continue the rollback to a stack with the same * name. You might retry ContinueUpdateRollback requests to ensure that CloudFormation successfully * received them. *

*/ private String clientRequestToken; /** *

* The name or the unique ID of the stack that you want to continue rolling back. *

* *

* Don't specify the name of a nested stack (a stack that was created by using the * AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack * that contains the AWS::CloudFormation::Stack resource). *

*
* * @param stackName * The name or the unique ID of the stack that you want to continue rolling back.

*

* Don't specify the name of a nested stack (a stack that was created by using the * AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the * stack that contains the AWS::CloudFormation::Stack resource). *

*/ public void setStackName(String stackName) { this.stackName = stackName; } /** *

* The name or the unique ID of the stack that you want to continue rolling back. *

* *

* Don't specify the name of a nested stack (a stack that was created by using the * AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack * that contains the AWS::CloudFormation::Stack resource). *

*
* * @return The name or the unique ID of the stack that you want to continue rolling back.

*

* Don't specify the name of a nested stack (a stack that was created by using the * AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the * stack that contains the AWS::CloudFormation::Stack resource). *

*/ public String getStackName() { return this.stackName; } /** *

* The name or the unique ID of the stack that you want to continue rolling back. *

* *

* Don't specify the name of a nested stack (a stack that was created by using the * AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack * that contains the AWS::CloudFormation::Stack resource). *

*
* * @param stackName * The name or the unique ID of the stack that you want to continue rolling back.

*

* Don't specify the name of a nested stack (a stack that was created by using the * AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the * stack that contains the AWS::CloudFormation::Stack resource). *

* @return Returns a reference to this object so that method calls can be chained together. */ public ContinueUpdateRollbackRequest withStackName(String stackName) { setStackName(stackName); return this; } /** *

* The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to * roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation * always uses this role for all future operations on the stack. As long as users have permission to operate on the * stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role * grants least privilege. *

*

* If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no * role is available, CloudFormation uses a temporary session that is generated from your user credentials. *

* * @param roleARN * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes * to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. * CloudFormation always uses this role for all future operations on the stack. As long as users have * permission to operate on the stack, CloudFormation uses this role even if the users don't have permission * to pass it. Ensure that the role grants least privilege.

*

* If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. * If no role is available, CloudFormation uses a temporary session that is generated from your user * credentials. */ public void setRoleARN(String roleARN) { this.roleARN = roleARN; } /** *

* The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to * roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation * always uses this role for all future operations on the stack. As long as users have permission to operate on the * stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role * grants least privilege. *

*

* If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no * role is available, CloudFormation uses a temporary session that is generated from your user credentials. *

* * @return The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation * assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. * CloudFormation always uses this role for all future operations on the stack. As long as users have * permission to operate on the stack, CloudFormation uses this role even if the users don't have permission * to pass it. Ensure that the role grants least privilege.

*

* If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. * If no role is available, CloudFormation uses a temporary session that is generated from your user * credentials. */ public String getRoleARN() { return this.roleARN; } /** *

* The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to * roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation * always uses this role for all future operations on the stack. As long as users have permission to operate on the * stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role * grants least privilege. *

*

* If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no * role is available, CloudFormation uses a temporary session that is generated from your user credentials. *

* * @param roleARN * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes * to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. * CloudFormation always uses this role for all future operations on the stack. As long as users have * permission to operate on the stack, CloudFormation uses this role even if the users don't have permission * to pass it. Ensure that the role grants least privilege.

*

* If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. * If no role is available, CloudFormation uses a temporary session that is generated from your user * credentials. * @return Returns a reference to this object so that method calls can be chained together. */ public ContinueUpdateRollbackRequest withRoleARN(String roleARN) { setRoleARN(roleARN); return this; } /** *

* A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback * operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback * failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for * example, because an update was cancelled. To check why a resource update failed, use the * DescribeStackResources action, and view the resource status reason. *

* *

* Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We * recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to * UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of * the skipped resources will be inconsistent with the state of the resources in the stack template. Before * performing another stack update, you must update the stack or resources to be consistent with each other. If you * don't, subsequent stack updates might fail, and the stack will become unrecoverable. *

*
*

* Specify the minimum number of resources required to successfully roll back your stack. For example, a failed * resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the * dependent resources. *

*

* To skip resources that are part of nested stacks, use the following format: * NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource ( * Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding * embedded stack must be in one of the following states: DELETE_IN_PROGRESS, * DELETE_COMPLETE, or DELETE_FAILED. *

* *

* Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example * of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. *

*
* * @return A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback * operation. You can specify only resources that are in the UPDATE_FAILED state because a * rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other * reasons, for example, because an update was cancelled. To check why a resource update failed, use the * DescribeStackResources action, and view the resource status reason.

*

* Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We * recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified * resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is * complete, the state of the skipped resources will be inconsistent with the state of the resources in the * stack template. Before performing another stack update, you must update the stack or resources to be * consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become * unrecoverable. *

*
*

* Specify the minimum number of resources required to successfully roll back your stack. For example, a * failed resource update might cause dependent resources to fail. In this case, it might not be necessary * to skip the dependent resources. *

*

* To skip resources that are part of nested stacks, use the following format: * NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource * (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its * corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, * DELETE_COMPLETE, or DELETE_FAILED. *

* *

* Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an * example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. *

*/ public java.util.List getResourcesToSkip() { if (resourcesToSkip == null) { resourcesToSkip = new com.amazonaws.internal.SdkInternalList(); } return resourcesToSkip; } /** *

* A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback * operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback * failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for * example, because an update was cancelled. To check why a resource update failed, use the * DescribeStackResources action, and view the resource status reason. *

* *

* Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We * recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to * UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of * the skipped resources will be inconsistent with the state of the resources in the stack template. Before * performing another stack update, you must update the stack or resources to be consistent with each other. If you * don't, subsequent stack updates might fail, and the stack will become unrecoverable. *

*
*

* Specify the minimum number of resources required to successfully roll back your stack. For example, a failed * resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the * dependent resources. *

*

* To skip resources that are part of nested stacks, use the following format: * NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource ( * Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding * embedded stack must be in one of the following states: DELETE_IN_PROGRESS, * DELETE_COMPLETE, or DELETE_FAILED. *

* *

* Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example * of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. *

*
* * @param resourcesToSkip * A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback * operation. You can specify only resources that are in the UPDATE_FAILED state because a * rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other * reasons, for example, because an update was cancelled. To check why a resource update failed, use the * DescribeStackResources action, and view the resource status reason.

*

* Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We * recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified * resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is * complete, the state of the skipped resources will be inconsistent with the state of the resources in the * stack template. Before performing another stack update, you must update the stack or resources to be * consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become * unrecoverable. *

*
*

* Specify the minimum number of resources required to successfully roll back your stack. For example, a * failed resource update might cause dependent resources to fail. In this case, it might not be necessary to * skip the dependent resources. *

*

* To skip resources that are part of nested stacks, use the following format: * NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource * (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its * corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, * DELETE_COMPLETE, or DELETE_FAILED. *

* *

* Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an * example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. *

*/ public void setResourcesToSkip(java.util.Collection resourcesToSkip) { if (resourcesToSkip == null) { this.resourcesToSkip = null; return; } this.resourcesToSkip = new com.amazonaws.internal.SdkInternalList(resourcesToSkip); } /** *

* A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback * operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback * failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for * example, because an update was cancelled. To check why a resource update failed, use the * DescribeStackResources action, and view the resource status reason. *

* *

* Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We * recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to * UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of * the skipped resources will be inconsistent with the state of the resources in the stack template. Before * performing another stack update, you must update the stack or resources to be consistent with each other. If you * don't, subsequent stack updates might fail, and the stack will become unrecoverable. *

*
*

* Specify the minimum number of resources required to successfully roll back your stack. For example, a failed * resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the * dependent resources. *

*

* To skip resources that are part of nested stacks, use the following format: * NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource ( * Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding * embedded stack must be in one of the following states: DELETE_IN_PROGRESS, * DELETE_COMPLETE, or DELETE_FAILED. *

* *

* Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example * of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. *

*
*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setResourcesToSkip(java.util.Collection)} or {@link #withResourcesToSkip(java.util.Collection)} if you * want to override the existing values. *

* * @param resourcesToSkip * A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback * operation. You can specify only resources that are in the UPDATE_FAILED state because a * rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other * reasons, for example, because an update was cancelled. To check why a resource update failed, use the * DescribeStackResources action, and view the resource status reason.

*

* Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We * recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified * resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is * complete, the state of the skipped resources will be inconsistent with the state of the resources in the * stack template. Before performing another stack update, you must update the stack or resources to be * consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become * unrecoverable. *

*
*

* Specify the minimum number of resources required to successfully roll back your stack. For example, a * failed resource update might cause dependent resources to fail. In this case, it might not be necessary to * skip the dependent resources. *

*

* To skip resources that are part of nested stacks, use the following format: * NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource * (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its * corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, * DELETE_COMPLETE, or DELETE_FAILED. *

* *

* Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an * example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. *

* @return Returns a reference to this object so that method calls can be chained together. */ public ContinueUpdateRollbackRequest withResourcesToSkip(String... resourcesToSkip) { if (this.resourcesToSkip == null) { setResourcesToSkip(new com.amazonaws.internal.SdkInternalList(resourcesToSkip.length)); } for (String ele : resourcesToSkip) { this.resourcesToSkip.add(ele); } return this; } /** *

* A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback * operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback * failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for * example, because an update was cancelled. To check why a resource update failed, use the * DescribeStackResources action, and view the resource status reason. *

* *

* Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We * recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to * UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of * the skipped resources will be inconsistent with the state of the resources in the stack template. Before * performing another stack update, you must update the stack or resources to be consistent with each other. If you * don't, subsequent stack updates might fail, and the stack will become unrecoverable. *

*
*

* Specify the minimum number of resources required to successfully roll back your stack. For example, a failed * resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the * dependent resources. *

*

* To skip resources that are part of nested stacks, use the following format: * NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource ( * Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding * embedded stack must be in one of the following states: DELETE_IN_PROGRESS, * DELETE_COMPLETE, or DELETE_FAILED. *

* *

* Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example * of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. *

*
* * @param resourcesToSkip * A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback * operation. You can specify only resources that are in the UPDATE_FAILED state because a * rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other * reasons, for example, because an update was cancelled. To check why a resource update failed, use the * DescribeStackResources action, and view the resource status reason.

*

* Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We * recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified * resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is * complete, the state of the skipped resources will be inconsistent with the state of the resources in the * stack template. Before performing another stack update, you must update the stack or resources to be * consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become * unrecoverable. *

*
*

* Specify the minimum number of resources required to successfully roll back your stack. For example, a * failed resource update might cause dependent resources to fail. In this case, it might not be necessary to * skip the dependent resources. *

*

* To skip resources that are part of nested stacks, use the following format: * NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource * (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its * corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, * DELETE_COMPLETE, or DELETE_FAILED. *

* *

* Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an * example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. *

* @return Returns a reference to this object so that method calls can be chained together. */ public ContinueUpdateRollbackRequest withResourcesToSkip(java.util.Collection resourcesToSkip) { setResourcesToSkip(resourcesToSkip); return this; } /** *

* A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to retry * requests so that CloudFormationknows that you're not attempting to continue the rollback to a stack with the same * name. You might retry ContinueUpdateRollback requests to ensure that CloudFormation successfully * received them. *

* * @param clientRequestToken * A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan * to retry requests so that CloudFormationknows that you're not attempting to continue the rollback to a * stack with the same name. You might retry ContinueUpdateRollback requests to ensure that * CloudFormation successfully received them. */ public void setClientRequestToken(String clientRequestToken) { this.clientRequestToken = clientRequestToken; } /** *

* A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to retry * requests so that CloudFormationknows that you're not attempting to continue the rollback to a stack with the same * name. You might retry ContinueUpdateRollback requests to ensure that CloudFormation successfully * received them. *

* * @return A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan * to retry requests so that CloudFormationknows that you're not attempting to continue the rollback to a * stack with the same name. You might retry ContinueUpdateRollback requests to ensure that * CloudFormation successfully received them. */ public String getClientRequestToken() { return this.clientRequestToken; } /** *

* A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan to retry * requests so that CloudFormationknows that you're not attempting to continue the rollback to a stack with the same * name. You might retry ContinueUpdateRollback requests to ensure that CloudFormation successfully * received them. *

* * @param clientRequestToken * A unique identifier for this ContinueUpdateRollback request. Specify this token if you plan * to retry requests so that CloudFormationknows that you're not attempting to continue the rollback to a * stack with the same name. You might retry ContinueUpdateRollback requests to ensure that * CloudFormation successfully received them. * @return Returns a reference to this object so that method calls can be chained together. */ public ContinueUpdateRollbackRequest withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getStackName() != null) sb.append("StackName: ").append(getStackName()).append(","); if (getRoleARN() != null) sb.append("RoleARN: ").append(getRoleARN()).append(","); if (getResourcesToSkip() != null) sb.append("ResourcesToSkip: ").append(getResourcesToSkip()).append(","); if (getClientRequestToken() != null) sb.append("ClientRequestToken: ").append(getClientRequestToken()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ContinueUpdateRollbackRequest == false) return false; ContinueUpdateRollbackRequest other = (ContinueUpdateRollbackRequest) obj; if (other.getStackName() == null ^ this.getStackName() == null) return false; if (other.getStackName() != null && other.getStackName().equals(this.getStackName()) == false) return false; if (other.getRoleARN() == null ^ this.getRoleARN() == null) return false; if (other.getRoleARN() != null && other.getRoleARN().equals(this.getRoleARN()) == false) return false; if (other.getResourcesToSkip() == null ^ this.getResourcesToSkip() == null) return false; if (other.getResourcesToSkip() != null && other.getResourcesToSkip().equals(this.getResourcesToSkip()) == false) return false; if (other.getClientRequestToken() == null ^ this.getClientRequestToken() == null) return false; if (other.getClientRequestToken() != null && other.getClientRequestToken().equals(this.getClientRequestToken()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStackName() == null) ? 0 : getStackName().hashCode()); hashCode = prime * hashCode + ((getRoleARN() == null) ? 0 : getRoleARN().hashCode()); hashCode = prime * hashCode + ((getResourcesToSkip() == null) ? 0 : getResourcesToSkip().hashCode()); hashCode = prime * hashCode + ((getClientRequestToken() == null) ? 0 : getClientRequestToken().hashCode()); return hashCode; } @Override public ContinueUpdateRollbackRequest clone() { return (ContinueUpdateRollbackRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy