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
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
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 Detail
-
subnetCidrReservationId
SubnetCidrReservation.Builder subnetCidrReservationId(String 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
SubnetCidrReservation.Builder subnetId(String 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
SubnetCidrReservation.Builder cidr(String 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
SubnetCidrReservation.Builder reservationType(String 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:
SubnetCidrReservationType
,SubnetCidrReservationType
-
reservationType
SubnetCidrReservation.Builder reservationType(SubnetCidrReservationType 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:
SubnetCidrReservationType
,SubnetCidrReservationType
-
ownerId
SubnetCidrReservation.Builder ownerId(String 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
SubnetCidrReservation.Builder description(String 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
SubnetCidrReservation.Builder tags(Collection<Tag> 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
SubnetCidrReservation.Builder tags(Tag... 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
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-