/** * <p> * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation * assumes to delete the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. * </p> * <p> * If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If * no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. * </p> * * @param roleARN * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation * assumes to delete the stack. AWS CloudFormation uses the role's credentials to make calls on your * behalf.</p> * <p> * If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the * stack. If no role is available, AWS 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 DeleteStackRequest withRoleARN(String roleARN) { setRoleARN(roleARN); return this; }
/** * <p> * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation * assumes to delete the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. * </p> * <p> * If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If * no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. * </p> * * @param roleARN * The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation * assumes to delete the stack. AWS CloudFormation uses the role's credentials to make calls on your * behalf.</p> * <p> * If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the * stack. If no role is available, AWS 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 DeleteStackRequest withRoleARN(String roleARN) { setRoleARN(roleARN); return this; }