Interface ByoipCidr.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ByoipCidr.Builder,ByoipCidr>
,SdkBuilder<ByoipCidr.Builder,ByoipCidr>
,SdkPojo
- Enclosing class:
- ByoipCidr
public static interface ByoipCidr.Builder extends SdkPojo, CopyableBuilder<ByoipCidr.Builder,ByoipCidr>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByoipCidr.Builder
asnAssociations(Collection<AsnAssociation> asnAssociations)
The BYOIP CIDR associations with ASNs.ByoipCidr.Builder
asnAssociations(Consumer<AsnAssociation.Builder>... asnAssociations)
The BYOIP CIDR associations with ASNs.ByoipCidr.Builder
asnAssociations(AsnAssociation... asnAssociations)
The BYOIP CIDR associations with ASNs.ByoipCidr.Builder
cidr(String cidr)
The address range, in CIDR notation.ByoipCidr.Builder
description(String description)
The description of the address range.ByoipCidr.Builder
state(String state)
The state of the address pool.ByoipCidr.Builder
state(ByoipCidrState state)
The state of the address pool.ByoipCidr.Builder
statusMessage(String statusMessage)
Upon success, contains the ID of the address pool.-
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
-
cidr
ByoipCidr.Builder cidr(String cidr)
The address range, in CIDR notation.
- Parameters:
cidr
- The address range, in CIDR notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ByoipCidr.Builder description(String description)
The description of the address range.
- Parameters:
description
- The description of the address range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asnAssociations
ByoipCidr.Builder asnAssociations(Collection<AsnAssociation> asnAssociations)
The BYOIP CIDR associations with ASNs.
- Parameters:
asnAssociations
- The BYOIP CIDR associations with ASNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asnAssociations
ByoipCidr.Builder asnAssociations(AsnAssociation... asnAssociations)
The BYOIP CIDR associations with ASNs.
- Parameters:
asnAssociations
- The BYOIP CIDR associations with ASNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asnAssociations
ByoipCidr.Builder asnAssociations(Consumer<AsnAssociation.Builder>... asnAssociations)
The BYOIP CIDR associations with ASNs.
This is a convenience method that creates an instance of theAsnAssociation.Builder
avoiding the need to create one manually viaAsnAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#asnAssociations(List
.) - Parameters:
asnAssociations
- a consumer that will call methods onAsnAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#asnAssociations(java.util.Collection
)
-
statusMessage
ByoipCidr.Builder statusMessage(String statusMessage)
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
- Parameters:
statusMessage
- Upon success, contains the ID of the address pool. Otherwise, contains an error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
ByoipCidr.Builder state(String state)
The state of the address pool.
- Parameters:
state
- The state of the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ByoipCidrState
,ByoipCidrState
-
state
ByoipCidr.Builder state(ByoipCidrState state)
The state of the address pool.
- Parameters:
state
- The state of the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ByoipCidrState
,ByoipCidrState
-
-