Example usage for com.amazonaws.services.cloudformation.model Stack setStackName

List of usage examples for com.amazonaws.services.cloudformation.model Stack setStackName

Introduction

In this page you can find the example usage for com.amazonaws.services.cloudformation.model Stack setStackName.

Prototype


public void setStackName(String stackName) 

Source Link

Document

The name associated with the stack.

Usage

From source file:com.carrotgarden.maven.aws.cfn.CarrotCloudForm.java

License:BSD License

private Stack newStackWithStatus(final StackStatus status, final String reason) {

    final Stack stack = new Stack();

    stack.setStackName(name);
    stack.setStackStatus(status);/*from  ww  w. j a  va 2 s . c  om*/
    stack.setStackStatusReason(reason);

    return stack;

}