public static interface CreateSubnetCidrReservationRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateSubnetCidrReservationRequest.Builder,CreateSubnetCidrReservationRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateSubnetCidrReservationRequest.Builder subnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.CreateSubnetCidrReservationRequest.Builder cidr(String cidr)
The IPv4 or IPV6 CIDR range to reserve.
cidr
- The IPv4 or IPV6 CIDR range to reserve.CreateSubnetCidrReservationRequest.Builder reservationType(String reservationType)
The type of reservation.
The following are valid values:
prefix
: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network interfaces
that are associated with an instance. For information about Prefix Delegation, see Prefix Delegation for
Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit
: You manually assign the IP addresses to resources that reside in your subnet.
reservationType
- The type of reservation.
The following are valid values:
prefix
: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network
interfaces that are associated with an instance. For information about Prefix Delegation, see Prefix
Delegation for Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User
Guide.
explicit
: You manually assign the IP addresses to resources that reside in your subnet.
SubnetCidrReservationType
,
SubnetCidrReservationType
CreateSubnetCidrReservationRequest.Builder reservationType(SubnetCidrReservationType reservationType)
The type of reservation.
The following are valid values:
prefix
: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network interfaces
that are associated with an instance. For information about Prefix Delegation, see Prefix Delegation for
Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit
: You manually assign the IP addresses to resources that reside in your subnet.
reservationType
- The type of reservation.
The following are valid values:
prefix
: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network
interfaces that are associated with an instance. For information about Prefix Delegation, see Prefix
Delegation for Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User
Guide.
explicit
: You manually assign the IP addresses to resources that reside in your subnet.
SubnetCidrReservationType
,
SubnetCidrReservationType
CreateSubnetCidrReservationRequest.Builder description(String description)
The description to assign to the subnet CIDR reservation.
description
- The description to assign to the subnet CIDR reservation.CreateSubnetCidrReservationRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the subnet CIDR reservation.
tagSpecifications
- The tags to assign to the subnet CIDR reservation.CreateSubnetCidrReservationRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the subnet CIDR reservation.
tagSpecifications
- The tags to assign to the subnet CIDR reservation.CreateSubnetCidrReservationRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to assign to the subnet CIDR reservation.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #tagSpecifications(List)
.tagSpecifications
- a consumer that will call methods on List.Builder
#tagSpecifications(List)
CreateSubnetCidrReservationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateSubnetCidrReservationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.