Interface GetSubnetCidrReservationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSubnetCidrReservationsResponse.Builder,
,GetSubnetCidrReservationsResponse> Ec2Response.Builder
,SdkBuilder<GetSubnetCidrReservationsResponse.Builder,
,GetSubnetCidrReservationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSubnetCidrReservationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.subnetIpv4CidrReservations
(Collection<SubnetCidrReservation> subnetIpv4CidrReservations) Information about the IPv4 subnet CIDR reservations.subnetIpv4CidrReservations
(Consumer<SubnetCidrReservation.Builder>... subnetIpv4CidrReservations) Information about the IPv4 subnet CIDR reservations.subnetIpv4CidrReservations
(SubnetCidrReservation... subnetIpv4CidrReservations) Information about the IPv4 subnet CIDR reservations.subnetIpv6CidrReservations
(Collection<SubnetCidrReservation> subnetIpv6CidrReservations) Information about the IPv6 subnet CIDR reservations.subnetIpv6CidrReservations
(Consumer<SubnetCidrReservation.Builder>... subnetIpv6CidrReservations) Information about the IPv6 subnet CIDR reservations.subnetIpv6CidrReservations
(SubnetCidrReservation... subnetIpv6CidrReservations) Information about the IPv6 subnet CIDR reservations.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 Details
-
subnetIpv4CidrReservations
GetSubnetCidrReservationsResponse.Builder subnetIpv4CidrReservations(Collection<SubnetCidrReservation> subnetIpv4CidrReservations) Information about the IPv4 subnet CIDR reservations.
- Parameters:
subnetIpv4CidrReservations
- Information about the IPv4 subnet CIDR reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIpv4CidrReservations
GetSubnetCidrReservationsResponse.Builder subnetIpv4CidrReservations(SubnetCidrReservation... subnetIpv4CidrReservations) Information about the IPv4 subnet CIDR reservations.
- Parameters:
subnetIpv4CidrReservations
- Information about the IPv4 subnet CIDR reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIpv4CidrReservations
GetSubnetCidrReservationsResponse.Builder subnetIpv4CidrReservations(Consumer<SubnetCidrReservation.Builder>... subnetIpv4CidrReservations) Information about the IPv4 subnet CIDR reservations.
This is a convenience method that creates an instance of theSubnetCidrReservation.Builder
avoiding the need to create one manually viaSubnetCidrReservation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetIpv4CidrReservations(List<SubnetCidrReservation>)
.- Parameters:
subnetIpv4CidrReservations
- a consumer that will call methods onSubnetCidrReservation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetIpv6CidrReservations
GetSubnetCidrReservationsResponse.Builder subnetIpv6CidrReservations(Collection<SubnetCidrReservation> subnetIpv6CidrReservations) Information about the IPv6 subnet CIDR reservations.
- Parameters:
subnetIpv6CidrReservations
- Information about the IPv6 subnet CIDR reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIpv6CidrReservations
GetSubnetCidrReservationsResponse.Builder subnetIpv6CidrReservations(SubnetCidrReservation... subnetIpv6CidrReservations) Information about the IPv6 subnet CIDR reservations.
- Parameters:
subnetIpv6CidrReservations
- Information about the IPv6 subnet CIDR reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIpv6CidrReservations
GetSubnetCidrReservationsResponse.Builder subnetIpv6CidrReservations(Consumer<SubnetCidrReservation.Builder>... subnetIpv6CidrReservations) Information about the IPv6 subnet CIDR reservations.
This is a convenience method that creates an instance of theSubnetCidrReservation.Builder
avoiding the need to create one manually viaSubnetCidrReservation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetIpv6CidrReservations(List<SubnetCidrReservation>)
.- Parameters:
subnetIpv6CidrReservations
- a consumer that will call methods onSubnetCidrReservation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-