Interface AwsRdsDbSubnetGroupSubnet.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsRdsDbSubnetGroupSubnet.Builder,,AwsRdsDbSubnetGroupSubnet> SdkBuilder<AwsRdsDbSubnetGroupSubnet.Builder,,AwsRdsDbSubnetGroupSubnet> SdkPojo
- Enclosing class:
AwsRdsDbSubnetGroupSubnet
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAwsRdsDbSubnetGroupSubnetAvailabilityZone.builder().When the
Consumercompletes,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.
-