Example usage for com.amazonaws.services.autoscaling.model Activity getAutoScalingGroupName

List of usage examples for com.amazonaws.services.autoscaling.model Activity getAutoScalingGroupName

Introduction

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

Prototype


public String getAutoScalingGroupName() 

Source Link

Document

The name of the Auto Scaling group.

Usage

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

License:BSD License

private void writeActivity(Activity activity) throws XMLStreamException {
    startElement("activity");
    attribute("activity-id", activity.getActivityId());
    attribute("group-name", activity.getAutoScalingGroupName());
    attribute("cause", activity.getCause());
    attribute("description", activity.getDescription());
    attribute("details", activity.getDetails());
    attribute("end-time", activity.getEndTime());
    attribute("progress", activity.getProgress());
    attribute("start-time", activity.getStartTime());
    attribute("status-code", activity.getStatusCode());
    attribute("status-message", activity.getStatusMessage());
    endElement();//  ww  w .ja v  a  2  s.c  om

}