Interface GetSubnetCidrReservationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSubnetCidrReservationsResponse.Builder,GetSubnetCidrReservationsResponse>,Ec2Response.Builder,SdkBuilder<GetSubnetCidrReservationsResponse.Builder,GetSubnetCidrReservationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSubnetCidrReservationsResponse
public static interface GetSubnetCidrReservationsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetSubnetCidrReservationsResponse.Builder,GetSubnetCidrReservationsResponse>
-
-
Method Summary
-
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
-
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 to#subnetIpv4CidrReservations(List.) - 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:
#subnetIpv4CidrReservations(java.util.Collection)
-
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 to#subnetIpv6CidrReservations(List.) - 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:
#subnetIpv6CidrReservations(java.util.Collection)
-
nextToken
GetSubnetCidrReservationsResponse.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.
-
-