Interface AwsRdsDbSubnetGroupSubnet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsRdsDbSubnetGroupSubnet.Builder,
,AwsRdsDbSubnetGroupSubnet> SdkBuilder<AwsRdsDbSubnetGroupSubnet.Builder,
,AwsRdsDbSubnetGroupSubnet> SdkPojo
- Enclosing class:
AwsRdsDbSubnetGroupSubnet
public static interface AwsRdsDbSubnetGroupSubnet.Builder
extends SdkPojo, CopyableBuilder<AwsRdsDbSubnetGroupSubnet.Builder,AwsRdsDbSubnetGroupSubnet>
-
Method Summary
Modifier and TypeMethodDescriptionsubnetAvailabilityZone
(Consumer<AwsRdsDbSubnetGroupSubnetAvailabilityZone.Builder> subnetAvailabilityZone) Information about the Availability Zone for a subnet in the subnet group.subnetAvailabilityZone
(AwsRdsDbSubnetGroupSubnetAvailabilityZone subnetAvailabilityZone) Information about the Availability Zone for a subnet in the subnet group.subnetIdentifier
(String subnetIdentifier) The identifier of a subnet in the subnet group.subnetStatus
(String subnetStatus) The status of a subnet in the subnet group.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
-
subnetIdentifier
The identifier of a subnet in the subnet group.
- Parameters:
subnetIdentifier
- The identifier of a subnet in the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetAvailabilityZone
AwsRdsDbSubnetGroupSubnet.Builder subnetAvailabilityZone(AwsRdsDbSubnetGroupSubnetAvailabilityZone subnetAvailabilityZone) Information about the Availability Zone for a subnet in the subnet group.
- Parameters:
subnetAvailabilityZone
- Information about the Availability Zone for a subnet in the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetAvailabilityZone
default AwsRdsDbSubnetGroupSubnet.Builder subnetAvailabilityZone(Consumer<AwsRdsDbSubnetGroupSubnetAvailabilityZone.Builder> subnetAvailabilityZone) Information about the Availability Zone for a subnet in the subnet group.
This is a convenience method that creates an instance of theAwsRdsDbSubnetGroupSubnetAvailabilityZone.Builder
avoiding the need to create one manually viaAwsRdsDbSubnetGroupSubnetAvailabilityZone.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetAvailabilityZone(AwsRdsDbSubnetGroupSubnetAvailabilityZone)
.- Parameters:
subnetAvailabilityZone
- a consumer that will call methods onAwsRdsDbSubnetGroupSubnetAvailabilityZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetStatus
The status of a subnet in the subnet group.
- Parameters:
subnetStatus
- The status of a subnet in the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-