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
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaSubnetCidrReservation.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSubnetCidrReservation.builder().When the
Consumercompletes,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
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.
-