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

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

Introduction

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

Prototype


public void setStackStatus(StackStatus stackStatus) 

Source Link

Document

Current status of 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);//w ww .  j av a2s  .  c o m
    stack.setStackStatus(status);
    stack.setStackStatusReason(reason);

    return stack;

}