@Generated(value="software.amazon.awssdk:codegen") public final class DescribeSpotFleetRequestHistoryResponse extends Ec2Response implements ToCopyableBuilder<DescribeSpotFleetRequestHistoryResponse.Builder,DescribeSpotFleetRequestHistoryResponse>
Contains the output of DescribeSpotFleetRequestHistory.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeSpotFleetRequestHistoryResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeSpotFleetRequestHistoryResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasHistoryRecords()
Returns true if the HistoryRecords property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<HistoryRecord> |
historyRecords()
Information about the events in the history of the Spot Fleet request.
|
Instant |
lastEvaluatedTime()
The last date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
String |
nextToken()
The token required to retrieve the next set of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeSpotFleetRequestHistoryResponse.Builder> |
serializableBuilderClass() |
String |
spotFleetRequestId()
The ID of the Spot Fleet request.
|
Instant |
startTime()
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
DescribeSpotFleetRequestHistoryResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasHistoryRecords()
public List<HistoryRecord> historyRecords()
Information about the events in the history of the Spot Fleet request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasHistoryRecords() to see if a value was sent in this field.
public Instant 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.
If nextToken indicates that there are more results, this value is not present.
public String nextToken()
The token required to retrieve the next set of results. This value is null when there are no more
results to return.
null when there are no
more results to return.public String spotFleetRequestId()
The ID of the Spot Fleet request.
public Instant startTime()
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public DescribeSpotFleetRequestHistoryResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeSpotFleetRequestHistoryResponse.Builder,DescribeSpotFleetRequestHistoryResponse>toBuilder in class AwsResponsepublic static DescribeSpotFleetRequestHistoryResponse.Builder builder()
public static Class<? extends DescribeSpotFleetRequestHistoryResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.