Example usage for com.amazonaws.services.cloudformation.model ValidateTemplateResult getCapabilitiesReason

List of usage examples for com.amazonaws.services.cloudformation.model ValidateTemplateResult getCapabilitiesReason

Introduction

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

Prototype


public String getCapabilitiesReason() 

Source Link

Document

The list of resources that generated the values in the Capabilities response element.

Usage

From source file:org.xmlsh.aws.cfnValidateTemplate.java

License:BSD License

private void writeResult(ValidateTemplateResult result) throws XMLStreamException {
    startElement("template");

    attribute("capabilities-reason", result.getCapabilitiesReason());
    attribute("description", result.getDescription());

    writeTemplateParameters(result.getParameters());

    writeCapibilities(result.getCapabilities());
    endElement();/*from   w ww  .  jav a 2s  .  c o m*/

}