Interface Branch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Branch.Builder,,Branch> SdkBuilder<Branch.Builder,,Branch> SdkPojo
- Enclosing class:
Branch
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the branch.branchCreateTime(Instant branchCreateTime) The time when the branch was created, in Universal Coordinated Time (UTC).branchExpiryTime(Instant branchExpiryTime) The time when the branch expires, in Universal Coordinated Time (UTC).branchName(String branchName) The name of the branch.branchResourceId(String branchResourceId) The Amazon Web Services Region-unique, immutable identifier of the branch.dbClusterParameterGroup(String dbClusterParameterGroup) The name of the DB cluster parameter group of the branch.dbSubnetGroup(String dbSubnetGroup) The name of the DB subnet group of the branch.The DNS address of the branch.The database engine of the branch.engineVersion(String engineVersion) The version of the database engine of the branch.httpEndpointEnabled(Boolean httpEndpointEnabled) Indicates whether you can use the RDS Data API through the HTTP endpoint of the branch.iamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled) Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the branch.internetAccessGatewayEnabled(Boolean internetAccessGatewayEnabled) Indicates whether the branch has internet-based connectivity enabled through an internet access gateway.The port that the branch listens on.The Amazon Resource Name (ARN) of the root DB cluster of the branch.default Branch.BuilderscalingConfiguration(Consumer<BranchScalingConfiguration.Builder> scalingConfiguration) The capacity settings of the branch.scalingConfiguration(BranchScalingConfiguration scalingConfiguration) The capacity settings of the branch.The Amazon Resource Name (ARN) of the source of the branch: the root DB cluster, or the branch that the branch was created from.The status of the branch.status(BranchStatus status) The status of the branch.tagList(Collection<Tag> tagList) The tags assigned to the branch.tagList(Consumer<Tag.Builder>... tagList) The tags assigned to the branch.The tags assigned to the branch.ttlSeconds(Long ttlSeconds) The time to live (TTL) of the branch, in seconds after the branch was created.vpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups) The VPC security groups of the branch.vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups) The VPC security groups of the branch.vpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups) The VPC security groups of the branch.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
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 theBranchScalingConfiguration.Builderavoiding the need to create one manually viaBranchScalingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscalingConfiguration(BranchScalingConfiguration).- Parameters:
scalingConfiguration- a consumer that will call methods onBranchScalingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
The tags assigned to the branch.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagList(List<Tag>).- Parameters:
tagList- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
The VPC security groups of the branch.
This is a convenience method that creates an instance of theVpcSecurityGroupMembership.Builderavoiding the need to create one manually viaVpcSecurityGroupMembership.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcSecurityGroups(List<VpcSecurityGroupMembership>).- Parameters:
vpcSecurityGroups- a consumer that will call methods onVpcSecurityGroupMembership.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-