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

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

Introduction

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

Prototype


public void setStackStatusReason(String stackStatusReason) 

Source Link

Document

Success/failure message associated with the stack status.

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);//from w w w.  jav a 2 s .  co m
    stack.setStackStatus(status);
    stack.setStackStatusReason(reason);

    return stack;

}