@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetHistoryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeFleetHistoryResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetHistoryResult |
clone() |
boolean |
equals(Object obj) |
String |
getFleetId()
The ID of the EC Fleet.
|
List<HistoryRecordEntry> |
getHistoryRecords()
Information about the events in the history of the EC2 Fleet.
|
Date |
getLastEvaluatedTime()
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
String |
getNextToken()
The token for the next set of results.
|
Date |
getStartTime()
The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
int |
hashCode() |
void |
setFleetId(String fleetId)
The ID of the EC Fleet.
|
void |
setHistoryRecords(Collection<HistoryRecordEntry> historyRecords)
Information about the events in the history of the EC2 Fleet.
|
void |
setLastEvaluatedTime(Date lastEvaluatedTime)
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setStartTime(Date startTime)
The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeFleetHistoryResult |
withFleetId(String fleetId)
The ID of the EC Fleet.
|
DescribeFleetHistoryResult |
withHistoryRecords(Collection<HistoryRecordEntry> historyRecords)
Information about the events in the history of the EC2 Fleet.
|
DescribeFleetHistoryResult |
withHistoryRecords(HistoryRecordEntry... historyRecords)
Information about the events in the history of the EC2 Fleet.
|
DescribeFleetHistoryResult |
withLastEvaluatedTime(Date lastEvaluatedTime)
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
DescribeFleetHistoryResult |
withNextToken(String nextToken)
The token for the next set of results.
|
DescribeFleetHistoryResult |
withStartTime(Date startTime)
The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<HistoryRecordEntry> getHistoryRecords()
Information about the events in the history of the EC2 Fleet.
public void setHistoryRecords(Collection<HistoryRecordEntry> historyRecords)
Information about the events in the history of the EC2 Fleet.
historyRecords
- Information about the events in the history of the EC2 Fleet.public DescribeFleetHistoryResult withHistoryRecords(HistoryRecordEntry... historyRecords)
Information about the events in the history of the EC2 Fleet.
NOTE: This method appends the values to the existing list (if any). Use
setHistoryRecords(java.util.Collection)
or withHistoryRecords(java.util.Collection)
if you want
to override the existing values.
historyRecords
- Information about the events in the history of the EC2 Fleet.public DescribeFleetHistoryResult withHistoryRecords(Collection<HistoryRecordEntry> historyRecords)
Information about the events in the history of the EC2 Fleet.
historyRecords
- Information about the events in the history of the EC2 Fleet.public void setLastEvaluatedTime(Date lastEvaluatedTime)
The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.
If nextToken
indicates that there are more results, this value is not present.
lastEvaluatedTime
- The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ). All records up to this time were
retrieved.
If nextToken
indicates that there are more results, this value is not present.
public Date getLastEvaluatedTime()
The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.
If nextToken
indicates that there are more results, this value is not present.
If nextToken
indicates that there are more results, this value is not present.
public DescribeFleetHistoryResult withLastEvaluatedTime(Date lastEvaluatedTime)
The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.
If nextToken
indicates that there are more results, this value is not present.
lastEvaluatedTime
- The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ). All records up to this time were
retrieved.
If nextToken
indicates that there are more results, this value is not present.
public void setNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String getNextToken()
The token for the next set of results.
public DescribeFleetHistoryResult withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public void setFleetId(String fleetId)
The ID of the EC Fleet.
fleetId
- The ID of the EC Fleet.public String getFleetId()
The ID of the EC Fleet.
public DescribeFleetHistoryResult withFleetId(String fleetId)
The ID of the EC Fleet.
fleetId
- The ID of the EC Fleet.public void setStartTime(Date startTime)
The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
startTime
- The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public Date getStartTime()
The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public DescribeFleetHistoryResult withStartTime(Date startTime)
The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
startTime
- The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public String toString()
toString
in class Object
Object.toString()
public DescribeFleetHistoryResult clone()
Copyright © 2018. All rights reserved.