Interface DescribeHostReservationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeHostReservationsResponse.Builder,DescribeHostReservationsResponse>,Ec2Response.Builder,SdkBuilder<DescribeHostReservationsResponse.Builder,DescribeHostReservationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeHostReservationsResponse
@Mutable @NotThreadSafe public static interface DescribeHostReservationsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeHostReservationsResponse.Builder,DescribeHostReservationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeHostReservationsResponse.BuilderhostReservationSet(Collection<HostReservation> hostReservationSet)Details about the reservation's configuration.DescribeHostReservationsResponse.BuilderhostReservationSet(Consumer<HostReservation.Builder>... hostReservationSet)Details about the reservation's configuration.DescribeHostReservationsResponse.BuilderhostReservationSet(HostReservation... hostReservationSet)Details about the reservation's configuration.DescribeHostReservationsResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.-
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
-
hostReservationSet
DescribeHostReservationsResponse.Builder hostReservationSet(Collection<HostReservation> hostReservationSet)
Details about the reservation's configuration.
- Parameters:
hostReservationSet- Details about the reservation's configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostReservationSet
DescribeHostReservationsResponse.Builder hostReservationSet(HostReservation... hostReservationSet)
Details about the reservation's configuration.
- Parameters:
hostReservationSet- Details about the reservation's configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostReservationSet
DescribeHostReservationsResponse.Builder hostReservationSet(Consumer<HostReservation.Builder>... hostReservationSet)
Details about the reservation's configuration.
This is a convenience method that creates an instance of theHostReservation.Builderavoiding the need to create one manually viaHostReservation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hostReservationSet(List.) - Parameters:
hostReservationSet- a consumer that will call methods onHostReservation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hostReservationSet(java.util.Collection)
-
nextToken
DescribeHostReservationsResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-