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

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

Introduction

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

Prototype


public Integer getProgress() 

Source Link

Document

A value between 0 and 100 that indicates the progress 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();//from www . j a  v a  2s  . com

}