public static interface SubnetCidrReservation.Builder extends SdkPojo, CopyableBuilder<SubnetCidrReservation.Builder,SubnetCidrReservation>
Modifier and Type | Method and Description |
---|---|
SubnetCidrReservation.Builder |
cidr(String cidr)
The CIDR that has been reserved.
|
SubnetCidrReservation.Builder |
description(String description)
The description assigned to the subnet CIDR reservation.
|
SubnetCidrReservation.Builder |
ownerId(String ownerId)
The ID of the account that owns the subnet CIDR reservation.
|
SubnetCidrReservation.Builder |
reservationType(String reservationType)
The type of reservation.
|
SubnetCidrReservation.Builder |
reservationType(SubnetCidrReservationType reservationType)
The type of reservation.
|
SubnetCidrReservation.Builder |
subnetCidrReservationId(String subnetCidrReservationId)
The ID of the subnet CIDR reservation.
|
SubnetCidrReservation.Builder |
subnetId(String subnetId)
The ID of the subnet.
|
SubnetCidrReservation.Builder |
tags(Collection<Tag> tags)
The tags assigned to the subnet CIDR reservation.
|
SubnetCidrReservation.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the subnet CIDR reservation.
|
SubnetCidrReservation.Builder |
tags(Tag... tags)
The tags assigned to the subnet CIDR reservation.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SubnetCidrReservation.Builder subnetCidrReservationId(String subnetCidrReservationId)
The ID of the subnet CIDR reservation.
subnetCidrReservationId
- The ID of the subnet CIDR reservation.SubnetCidrReservation.Builder subnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.SubnetCidrReservation.Builder cidr(String cidr)
The CIDR that has been reserved.
cidr
- The CIDR that has been reserved.SubnetCidrReservation.Builder reservationType(String reservationType)
The type of reservation.
reservationType
- The type of reservation.SubnetCidrReservationType
,
SubnetCidrReservationType
SubnetCidrReservation.Builder reservationType(SubnetCidrReservationType reservationType)
The type of reservation.
reservationType
- The type of reservation.SubnetCidrReservationType
,
SubnetCidrReservationType
SubnetCidrReservation.Builder ownerId(String ownerId)
The ID of the account that owns the subnet CIDR reservation.
ownerId
- The ID of the account that owns the subnet CIDR reservation.SubnetCidrReservation.Builder description(String description)
The description assigned to the subnet CIDR reservation.
description
- The description assigned to the subnet CIDR reservation.SubnetCidrReservation.Builder tags(Collection<Tag> tags)
The tags assigned to the subnet CIDR reservation.
tags
- The tags assigned to the subnet CIDR reservation.SubnetCidrReservation.Builder tags(Tag... tags)
The tags assigned to the subnet CIDR reservation.
tags
- The tags assigned to the subnet CIDR reservation.SubnetCidrReservation.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the subnet CIDR reservation.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
Copyright © 2023. All rights reserved.