Interface ReplicationSubnetGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReplicationSubnetGroup.Builder,ReplicationSubnetGroup>, SdkBuilder<ReplicationSubnetGroup.Builder,ReplicationSubnetGroup>, SdkPojo
Enclosing class:
ReplicationSubnetGroup

public static interface ReplicationSubnetGroup.Builder extends SdkPojo, CopyableBuilder<ReplicationSubnetGroup.Builder,ReplicationSubnetGroup>
  • 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

      ReplicationSubnetGroup.Builder subnetGroupStatus(String 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 the Subnet.Builder avoiding the need to create one manually via Subnet.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subnets(List<Subnet>).

      Parameters:
      subnets - a consumer that will call methods on Subnet.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • supportedNetworkTypes

      ReplicationSubnetGroup.Builder supportedNetworkTypes(Collection<String> 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

      ReplicationSubnetGroup.Builder supportedNetworkTypes(String... 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.