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

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

Introduction

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

Prototype


public java.util.Date getEndTime() 

Source Link

Document

The end time 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   w ww . j av  a 2s  .  co m*/

}