Interface Subnet.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Subnet.Builder,Subnet>
,SdkBuilder<Subnet.Builder,Subnet>
,SdkPojo
- Enclosing class:
- Subnet
public static interface Subnet.Builder extends SdkPojo, CopyableBuilder<Subnet.Builder,Subnet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Subnet.Builder
subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone)
Sets the value of the SubnetAvailabilityZone property for this object.Subnet.Builder
subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Sets the value of the SubnetAvailabilityZone property for this object.Subnet.Builder
subnetIdentifier(String subnetIdentifier)
The identifier of the subnet.default Subnet.Builder
subnetOutpost(Consumer<Outpost.Builder> subnetOutpost)
If the subnet is associated with an Outpost, this value specifies the Outpost.Subnet.Builder
subnetOutpost(Outpost subnetOutpost)
If the subnet is associated with an Outpost, this value specifies the Outpost.Subnet.Builder
subnetStatus(String subnetStatus)
The status of the subnet.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
subnetIdentifier
Subnet.Builder subnetIdentifier(String subnetIdentifier)
The identifier of the subnet.
- Parameters:
subnetIdentifier
- The identifier of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetAvailabilityZone
Subnet.Builder subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Sets the value of the SubnetAvailabilityZone property for this object.- Parameters:
subnetAvailabilityZone
- The new value for the SubnetAvailabilityZone property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetAvailabilityZone
default Subnet.Builder subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone)
Sets the value of the SubnetAvailabilityZone property for this object. This is a convenience method that creates an instance of theAvailabilityZone.Builder
avoiding the need to create one manually viaAvailabilityZone.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetAvailabilityZone(AvailabilityZone)
.- Parameters:
subnetAvailabilityZone
- a consumer that will call methods onAvailabilityZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subnetAvailabilityZone(AvailabilityZone)
-
subnetOutpost
Subnet.Builder subnetOutpost(Outpost subnetOutpost)
If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
- Parameters:
subnetOutpost
- If the subnet is associated with an Outpost, this value specifies the Outpost.For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetOutpost
default Subnet.Builder subnetOutpost(Consumer<Outpost.Builder> subnetOutpost)
If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
This is a convenience method that creates an instance of theOutpost.Builder
avoiding the need to create one manually viaOutpost.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetOutpost(Outpost)
.- Parameters:
subnetOutpost
- a consumer that will call methods onOutpost.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subnetOutpost(Outpost)
-
subnetStatus
Subnet.Builder subnetStatus(String subnetStatus)
The status of the subnet.
- Parameters:
subnetStatus
- The status of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-