Example usage for com.amazonaws.services.autoscaling.model ProcessType getProcessName

List of usage examples for com.amazonaws.services.autoscaling.model ProcessType getProcessName

Introduction

In this page you can find the example usage for com.amazonaws.services.autoscaling.model ProcessType getProcessName.

Prototype


public String getProcessName() 

Source Link

Document

One of the following processes:

  • Launch

  • Terminate

  • AddToLoadBalancer

  • AlarmNotification

  • AZRebalance

  • HealthCheck

  • ReplaceUnhealthy

  • ScheduledActions

Usage

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

License:BSD License

private void writeScalingProceessTypes(DescribeScalingProcessTypesResult stypes) throws XMLStreamException {

    startElement("process-types");
    for (ProcessType pt : stypes.getProcesses()) {
        startElement("process-type");

        attribute("name", pt.getProcessName());
        endElement();//from w  w  w .j  a  va 2 s. c o  m

    }

    endElement();
}