Interface DescribeFleetHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFleetHistoryResponse.Builder,DescribeFleetHistoryResponse>,Ec2Response.Builder,SdkBuilder<DescribeFleetHistoryResponse.Builder,DescribeFleetHistoryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeFleetHistoryResponse
public static interface DescribeFleetHistoryResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeFleetHistoryResponse.Builder,DescribeFleetHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeFleetHistoryResponse.BuilderfleetId(String fleetId)The ID of the EC Fleet.DescribeFleetHistoryResponse.BuilderhistoryRecords(Collection<HistoryRecordEntry> historyRecords)Information about the events in the history of the EC2 Fleet.DescribeFleetHistoryResponse.BuilderhistoryRecords(Consumer<HistoryRecordEntry.Builder>... historyRecords)Information about the events in the history of the EC2 Fleet.DescribeFleetHistoryResponse.BuilderhistoryRecords(HistoryRecordEntry... historyRecords)Information about the events in the history of the EC2 Fleet.DescribeFleetHistoryResponse.BuilderlastEvaluatedTime(Instant lastEvaluatedTime)The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).DescribeFleetHistoryResponse.BuildernextToken(String nextToken)The token to include in another request to get the next page of items.DescribeFleetHistoryResponse.BuilderstartTime(Instant startTime)The start 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
historyRecords
DescribeFleetHistoryResponse.Builder historyRecords(Collection<HistoryRecordEntry> historyRecords)
Information about the events in the history of the EC2 Fleet.
- Parameters:
historyRecords- Information about the events in the history of the EC2 Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historyRecords
DescribeFleetHistoryResponse.Builder historyRecords(HistoryRecordEntry... historyRecords)
Information about the events in the history of the EC2 Fleet.
- Parameters:
historyRecords- Information about the events in the history of the EC2 Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historyRecords
DescribeFleetHistoryResponse.Builder historyRecords(Consumer<HistoryRecordEntry.Builder>... historyRecords)
Information about the events in the history of the EC2 Fleet.
This is a convenience method that creates an instance of theHistoryRecordEntry.Builderavoiding the need to create one manually viaHistoryRecordEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#historyRecords(List.) - Parameters:
historyRecords- a consumer that will call methods onHistoryRecordEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#historyRecords(java.util.Collection)
-
lastEvaluatedTime
DescribeFleetHistoryResponse.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
nextTokenindicates 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
nextTokenindicates 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
DescribeFleetHistoryResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is
nullwhen 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 isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetId
DescribeFleetHistoryResponse.Builder fleetId(String fleetId)
The ID of the EC Fleet.
- Parameters:
fleetId- The ID of the EC Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
DescribeFleetHistoryResponse.Builder startTime(Instant startTime)
The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
startTime- The start 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.
-
-