Interface SubnetCidrReservation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SubnetCidrReservation.Builder,
,SubnetCidrReservation> SdkBuilder<SubnetCidrReservation.Builder,
,SubnetCidrReservation> SdkPojo
- Enclosing class:
SubnetCidrReservation
public static interface SubnetCidrReservation.Builder
extends SdkPojo, CopyableBuilder<SubnetCidrReservation.Builder,SubnetCidrReservation>
-
Method Summary
Modifier and TypeMethodDescriptionThe CIDR that has been reserved.description
(String description) The description assigned to the subnet CIDR reservation.The ID of the account that owns the subnet CIDR reservation.reservationType
(String reservationType) The type of reservation.reservationType
(SubnetCidrReservationType reservationType) The type of reservation.subnetCidrReservationId
(String subnetCidrReservationId) The ID of the subnet CIDR reservation.The ID of the subnet.tags
(Collection<Tag> tags) The tags assigned to the subnet CIDR reservation.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the subnet CIDR reservation.The tags assigned to the subnet CIDR reservation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
subnetCidrReservationId
The ID of the subnet CIDR reservation.
- Parameters:
subnetCidrReservationId
- The ID of the subnet CIDR reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
The ID of the subnet.
- Parameters:
subnetId
- The ID of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidr
The CIDR that has been reserved.
- Parameters:
cidr
- The CIDR that has been reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservationType
The type of reservation.
- Parameters:
reservationType
- The type of reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservationType
The type of reservation.
- Parameters:
reservationType
- The type of reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
The ID of the account that owns the subnet CIDR reservation.
- Parameters:
ownerId
- The ID of the account that owns the subnet CIDR reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description assigned to the subnet CIDR reservation.
- Parameters:
description
- The description assigned to the subnet CIDR reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the subnet CIDR reservation.
- Parameters:
tags
- The tags assigned to the subnet CIDR reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the subnet CIDR reservation.
- Parameters:
tags
- The tags assigned to the subnet CIDR reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-