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

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

Introduction

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

Prototype


public String getActivityId() 

Source Link

Document

The ID of the activity.

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.j  a  v  a2 s  .  c om

}