Interface DescribeBranchesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeBranchesRequest.Builder,,DescribeBranchesRequest> RdsRequest.Builder,SdkBuilder<DescribeBranchesRequest.Builder,,DescribeBranchesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeBranchesRequest
-
Method Summary
Modifier and TypeMethodDescriptionbranchName(String branchName) The branch to describe.dbClusterIdentifier(String dbClusterIdentifier) The name or Amazon Resource Name (ARN) of a root DB cluster.filters(Collection<Filter> filters) A filter that specifies one or more branches to describe.filters(Consumer<Filter.Builder>... filters) A filter that specifies one or more branches to describe.A filter that specifies one or more branches to describe.An optional pagination token from a previousDescribeBranchesresponse.maxRecords(Integer maxRecords) The maximum number of records to include in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
branchName
The branch to describe. If you specify it, the response includes only that branch.
Specify either the Amazon Resource Name (ARN) of the branch, or the name of the branch together with
DBClusterIdentifier.The following constraints apply to this parameter:
-
A branch name must contain from 1 to 63 alphanumeric characters or hyphens, and start with a letter.
-
A branch ARN must be the ARN of a branch in your Amazon Web Services account and Amazon Web Services Region.
- Parameters:
branchName- The branch to describe. If you specify it, the response includes only that branch.Specify either the Amazon Resource Name (ARN) of the branch, or the name of the branch together with
DBClusterIdentifier.The following constraints apply to this parameter:
-
A branch name must contain from 1 to 63 alphanumeric characters or hyphens, and start with a letter.
-
A branch ARN must be the ARN of a branch in your Amazon Web Services account and Amazon Web Services Region.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dbClusterIdentifier
The name or Amazon Resource Name (ARN) of a root DB cluster. If you specify it, the response includes only branches of that DB cluster.
Constraints: A DB cluster ARN must be the ARN of a DB cluster in your Amazon Web Services account and Amazon Web Services Region.
- Parameters:
dbClusterIdentifier- The name or Amazon Resource Name (ARN) of a root DB cluster. If you specify it, the response includes only branches of that DB cluster.Constraints: A DB cluster ARN must be the ARN of a DB cluster in your Amazon Web Services account and Amazon Web Services Region.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A filter that specifies one or more branches to describe.
Supported Filters:
-
root-db-cluster-identifier– Accepts DB cluster names and DB cluster Amazon Resource Names (ARNs). The results list only includes branches of these DB clusters. -
source-branch– Accepts branch names and branch ARNs. The results list only includes branches created from these branches. -
status– Accepts branch statuses. The results list only includes branches with these statuses. For the valid values, seeStatusinBranch.
Each filter accepts up to 100 values.
- Parameters:
filters- A filter that specifies one or more branches to describe.Supported Filters:
-
root-db-cluster-identifier– Accepts DB cluster names and DB cluster Amazon Resource Names (ARNs). The results list only includes branches of these DB clusters. -
source-branch– Accepts branch names and branch ARNs. The results list only includes branches created from these branches. -
status– Accepts branch statuses. The results list only includes branches with these statuses. For the valid values, seeStatusinBranch.
Each filter accepts up to 100 values.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
A filter that specifies one or more branches to describe.
Supported Filters:
-
root-db-cluster-identifier– Accepts DB cluster names and DB cluster Amazon Resource Names (ARNs). The results list only includes branches of these DB clusters. -
source-branch– Accepts branch names and branch ARNs. The results list only includes branches created from these branches. -
status– Accepts branch statuses. The results list only includes branches with these statuses. For the valid values, seeStatusinBranch.
Each filter accepts up to 100 values.
- Parameters:
filters- A filter that specifies one or more branches to describe.Supported Filters:
-
root-db-cluster-identifier– Accepts DB cluster names and DB cluster Amazon Resource Names (ARNs). The results list only includes branches of these DB clusters. -
source-branch– Accepts branch names and branch ARNs. The results list only includes branches created from these branches. -
status– Accepts branch statuses. The results list only includes branches with these statuses. For the valid values, seeStatusinBranch.
Each filter accepts up to 100 values.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
A filter that specifies one or more branches to describe.
Supported Filters:
-
root-db-cluster-identifier– Accepts DB cluster names and DB cluster Amazon Resource Names (ARNs). The results list only includes branches of these DB clusters. -
source-branch– Accepts branch names and branch ARNs. The results list only includes branches created from these branches. -
status– Accepts branch statuses. The results list only includes branches with these statuses. For the valid values, seeStatusinBranch.
Each filter accepts up to 100 values.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
marker
An optional pagination token from a previous
DescribeBranchesresponse. If you specify it, the response includes only records beyond the marker, up to the value that you specify inMaxRecords.- Parameters:
marker- An optional pagination token from a previousDescribeBranchesresponse. If you specify it, the response includes only records beyond the marker, up to the value that you specify inMaxRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRecords
The maximum number of records to include in the response. If more records exist than the
MaxRecordsvalue that you specify, the response includes a pagination token called a marker that you can use to retrieve the remaining results.Default: 100
Constraints: Minimum 20, maximum 100
- Parameters:
maxRecords- The maximum number of records to include in the response. If more records exist than theMaxRecordsvalue that you specify, the response includes a pagination token called a marker that you can use to retrieve the remaining results.Default: 100
Constraints: Minimum 20, maximum 100
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeBranchesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeBranchesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-