Interface ReplicationSubnetGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicationSubnetGroup.Builder,
,ReplicationSubnetGroup> SdkBuilder<ReplicationSubnetGroup.Builder,
,ReplicationSubnetGroup> SdkPojo
- Enclosing class:
ReplicationSubnetGroup
-
Method Summary
Modifier and TypeMethodDescriptionreplicationSubnetGroupDescription
(String replicationSubnetGroupDescription) A description for the replication subnet group.replicationSubnetGroupIdentifier
(String replicationSubnetGroupIdentifier) The identifier of the replication instance subnet group.subnetGroupStatus
(String subnetGroupStatus) The status of the subnet group.subnets
(Collection<Subnet> subnets) The subnets that are in the subnet group.subnets
(Consumer<Subnet.Builder>... subnets) The subnets that are in the subnet group.The subnets that are in the subnet group.supportedNetworkTypes
(String... supportedNetworkTypes) The IP addressing protocol supported by the subnet group.supportedNetworkTypes
(Collection<String> supportedNetworkTypes) The IP addressing protocol supported by the subnet group.The ID of the VPC.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
-
replicationSubnetGroupIdentifier
ReplicationSubnetGroup.Builder replicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier) The identifier of the replication instance subnet group.
- Parameters:
replicationSubnetGroupIdentifier
- The identifier of the replication instance subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationSubnetGroupDescription
ReplicationSubnetGroup.Builder replicationSubnetGroupDescription(String replicationSubnetGroupDescription) A description for the replication subnet group.
- Parameters:
replicationSubnetGroupDescription
- A description for the replication subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroupStatus
The status of the subnet group.
- Parameters:
subnetGroupStatus
- The status of the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The subnets that are in the subnet group.
- Parameters:
subnets
- The subnets that are in the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The subnets that are in the subnet group.
- Parameters:
subnets
- The subnets that are in the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The subnets that are in the subnet group.
This is a convenience method that creates an instance of theSubnet.Builder
avoiding the need to create one manually viaSubnet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnets(List<Subnet>)
.- Parameters:
subnets
- a consumer that will call methods onSubnet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportedNetworkTypes
The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
- Parameters:
supportedNetworkTypes
- The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedNetworkTypes
The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
- Parameters:
supportedNetworkTypes
- The IP addressing protocol supported by the subnet group. This is used by a replication instance with values such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-