Interface DescribeSpotFleetRequestHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeSpotFleetRequestHistoryResponse.Builder,DescribeSpotFleetRequestHistoryResponse>
,Ec2Response.Builder
,SdkBuilder<DescribeSpotFleetRequestHistoryResponse.Builder,DescribeSpotFleetRequestHistoryResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeSpotFleetRequestHistoryResponse
public static interface DescribeSpotFleetRequestHistoryResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeSpotFleetRequestHistoryResponse.Builder,DescribeSpotFleetRequestHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSpotFleetRequestHistoryResponse.Builder
historyRecords(Collection<HistoryRecord> historyRecords)
Information about the events in the history of the Spot Fleet request.DescribeSpotFleetRequestHistoryResponse.Builder
historyRecords(Consumer<HistoryRecord.Builder>... historyRecords)
Information about the events in the history of the Spot Fleet request.DescribeSpotFleetRequestHistoryResponse.Builder
historyRecords(HistoryRecord... historyRecords)
Information about the events in the history of the Spot Fleet request.DescribeSpotFleetRequestHistoryResponse.Builder
lastEvaluatedTime(Instant lastEvaluatedTime)
The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).DescribeSpotFleetRequestHistoryResponse.Builder
nextToken(String nextToken)
The token to include in another request to get the next page of items.DescribeSpotFleetRequestHistoryResponse.Builder
spotFleetRequestId(String spotFleetRequestId)
The ID of the Spot Fleet request.DescribeSpotFleetRequestHistoryResponse.Builder
startTime(Instant startTime)
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
historyRecords
DescribeSpotFleetRequestHistoryResponse.Builder historyRecords(Collection<HistoryRecord> historyRecords)
Information about the events in the history of the Spot Fleet request.
- Parameters:
historyRecords
- Information about the events in the history of the Spot Fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historyRecords
DescribeSpotFleetRequestHistoryResponse.Builder historyRecords(HistoryRecord... historyRecords)
Information about the events in the history of the Spot Fleet request.
- Parameters:
historyRecords
- Information about the events in the history of the Spot Fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historyRecords
DescribeSpotFleetRequestHistoryResponse.Builder historyRecords(Consumer<HistoryRecord.Builder>... historyRecords)
Information about the events in the history of the Spot Fleet request.
This is a convenience method that creates an instance of theHistoryRecord.Builder
avoiding the need to create one manually viaHistoryRecord.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#historyRecords(List
.) - Parameters:
historyRecords
- a consumer that will call methods onHistoryRecord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#historyRecords(java.util.Collection
)
-
lastEvaluatedTime
DescribeSpotFleetRequestHistoryResponse.Builder lastEvaluatedTime(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 items, this value is not present.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeSpotFleetRequestHistoryResponse.Builder nextToken(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.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotFleetRequestId
DescribeSpotFleetRequestHistoryResponse.Builder spotFleetRequestId(String spotFleetRequestId)
The ID of the Spot Fleet request.
- Parameters:
spotFleetRequestId
- The ID of the Spot Fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
DescribeSpotFleetRequestHistoryResponse.Builder startTime(Instant startTime)
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
startTime
- The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-