@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 to include in another request to get the next page of items.
|
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 to include in another request to get the next page of items.
|
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.
|
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 to include in another request to get the next page of items.
|
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 items, 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 items, 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 items, this value is not present.
If nextToken
indicates that there are more items, 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 items, 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 items, this value is not present.
public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeFleetHistoryResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.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()