Interface Branch.Builder

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

@Mutable @NotThreadSafe public static interface Branch.Builder extends SdkPojo, CopyableBuilder<Branch.Builder,Branch>
  • Method Details

    • branchArn

      Branch.Builder branchArn(String branchArn)

      The Amazon Resource Name (ARN) of the branch.

      Parameters:
      branchArn - The Amazon Resource Name (ARN) of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branchCreateTime

      Branch.Builder branchCreateTime(Instant branchCreateTime)

      The time when the branch was created, in Universal Coordinated Time (UTC).

      Parameters:
      branchCreateTime - The time when the branch was created, in Universal Coordinated Time (UTC).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branchExpiryTime

      Branch.Builder branchExpiryTime(Instant branchExpiryTime)

      The time when the branch expires, in Universal Coordinated Time (UTC). Amazon RDS deletes the branch at this time.

      Parameters:
      branchExpiryTime - The time when the branch expires, in Universal Coordinated Time (UTC). Amazon RDS deletes the branch at this time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branchName

      Branch.Builder branchName(String branchName)

      The name of the branch.

      Parameters:
      branchName - The name of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branchResourceId

      Branch.Builder branchResourceId(String branchResourceId)

      The Amazon Web Services Region-unique, immutable identifier of the branch.

      Parameters:
      branchResourceId - The Amazon Web Services Region-unique, immutable identifier of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbClusterParameterGroup

      Branch.Builder dbClusterParameterGroup(String dbClusterParameterGroup)

      The name of the DB cluster parameter group of the branch.

      Parameters:
      dbClusterParameterGroup - The name of the DB cluster parameter group of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSubnetGroup

      Branch.Builder dbSubnetGroup(String dbSubnetGroup)

      The name of the DB subnet group of the branch.

      Parameters:
      dbSubnetGroup - The name of the DB subnet group of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      Branch.Builder endpoint(String endpoint)

      The DNS address of the branch. Connect to the branch at this address.

      Parameters:
      endpoint - The DNS address of the branch. Connect to the branch at this address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engine

      Branch.Builder engine(String engine)

      The database engine of the branch.

      Parameters:
      engine - The database engine of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engineVersion

      Branch.Builder engineVersion(String engineVersion)

      The version of the database engine of the branch.

      Parameters:
      engineVersion - The version of the database engine of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpEndpointEnabled

      Branch.Builder httpEndpointEnabled(Boolean httpEndpointEnabled)

      Indicates whether you can use the RDS Data API through the HTTP endpoint of the branch.

      Parameters:
      httpEndpointEnabled - Indicates whether you can use the RDS Data API through the HTTP endpoint of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamDatabaseAuthenticationEnabled

      Branch.Builder iamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)

      Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the branch.

      Parameters:
      iamDatabaseAuthenticationEnabled - Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • internetAccessGatewayEnabled

      Branch.Builder internetAccessGatewayEnabled(Boolean internetAccessGatewayEnabled)

      Indicates whether the branch has internet-based connectivity enabled through an internet access gateway. With an internet access gateway, you connect to the branch over the internet without a VPC.

      Parameters:
      internetAccessGatewayEnabled - Indicates whether the branch has internet-based connectivity enabled through an internet access gateway. With an internet access gateway, you connect to the branch over the internet without a VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      Branch.Builder port(Integer port)

      The port that the branch listens on.

      Parameters:
      port - The port that the branch listens on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rootArn

      Branch.Builder rootArn(String rootArn)

      The Amazon Resource Name (ARN) of the root DB cluster of the branch.

      Parameters:
      rootArn - The Amazon Resource Name (ARN) of the root DB cluster of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingConfiguration

      Branch.Builder scalingConfiguration(BranchScalingConfiguration scalingConfiguration)

      The capacity settings of the branch.

      Parameters:
      scalingConfiguration - The capacity settings of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingConfiguration

      default Branch.Builder scalingConfiguration(Consumer<BranchScalingConfiguration.Builder> scalingConfiguration)

      The capacity settings of the branch.

      This is a convenience method that creates an instance of the BranchScalingConfiguration.Builder avoiding the need to create one manually via BranchScalingConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scalingConfiguration(BranchScalingConfiguration).

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

      Branch.Builder sourceArn(String sourceArn)

      The Amazon Resource Name (ARN) of the source of the branch: the root DB cluster, or the branch that the branch was created from.

      Parameters:
      sourceArn - The Amazon Resource Name (ARN) of the source of the branch: the root DB cluster, or the branch that the branch was created from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Branch.Builder status(String status)

      The status of the branch.

      The branch status can be one of the following values:

      creating

      The branch is being created.

      available

      The branch is ready for use.

      deleting

      The branch is being deleted.

      failed

      The branch couldn't be created.

      insufficient-capacity

      The branch couldn't be created because there wasn't enough capacity. Delete the branch and try again later.

      incompatible-network

      The branch couldn't be created because of the network configuration of the source DB cluster.

      Parameters:
      status - The status of the branch.

      The branch status can be one of the following values:

      creating

      The branch is being created.

      available

      The branch is ready for use.

      deleting

      The branch is being deleted.

      failed

      The branch couldn't be created.

      insufficient-capacity

      The branch couldn't be created because there wasn't enough capacity. Delete the branch and try again later.

      incompatible-network

      The branch couldn't be created because of the network configuration of the source DB cluster.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Branch.Builder status(BranchStatus status)

      The status of the branch.

      The branch status can be one of the following values:

      creating

      The branch is being created.

      available

      The branch is ready for use.

      deleting

      The branch is being deleted.

      failed

      The branch couldn't be created.

      insufficient-capacity

      The branch couldn't be created because there wasn't enough capacity. Delete the branch and try again later.

      incompatible-network

      The branch couldn't be created because of the network configuration of the source DB cluster.

      Parameters:
      status - The status of the branch.

      The branch status can be one of the following values:

      creating

      The branch is being created.

      available

      The branch is ready for use.

      deleting

      The branch is being deleted.

      failed

      The branch couldn't be created.

      insufficient-capacity

      The branch couldn't be created because there wasn't enough capacity. Delete the branch and try again later.

      incompatible-network

      The branch couldn't be created because of the network configuration of the source DB cluster.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tagList

      Branch.Builder tagList(Collection<Tag> tagList)

      The tags assigned to the branch.

      Parameters:
      tagList - The tags assigned to the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagList

      Branch.Builder tagList(Tag... tagList)

      The tags assigned to the branch.

      Parameters:
      tagList - The tags assigned to the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagList

      Branch.Builder tagList(Consumer<Tag.Builder>... tagList)

      The tags assigned to the branch.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

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

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

      Branch.Builder ttlSeconds(Long ttlSeconds)

      The time to live (TTL) of the branch, in seconds after the branch was created.

      Parameters:
      ttlSeconds - The time to live (TTL) of the branch, in seconds after the branch was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      Branch.Builder vpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)

      The VPC security groups of the branch.

      Parameters:
      vpcSecurityGroups - The VPC security groups of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      Branch.Builder vpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)

      The VPC security groups of the branch.

      Parameters:
      vpcSecurityGroups - The VPC security groups of the branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      Branch.Builder vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)

      The VPC security groups of the branch.

      This is a convenience method that creates an instance of the VpcSecurityGroupMembership.Builder avoiding the need to create one manually via VpcSecurityGroupMembership.builder().

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

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