Interface DescribeBranchesRequest.Builder

  • Method Details

    • branchName

      DescribeBranchesRequest.Builder branchName(String 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

      DescribeBranchesRequest.Builder dbClusterIdentifier(String 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, see Status in Branch.

      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, see Status in Branch.

      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, see Status in Branch.

      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, see Status in Branch.

      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, see Status in Branch.

      Each filter accepts up to 100 values.

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

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

      Parameters:
      filters - a consumer that will call methods on Filter.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 DescribeBranches response. If you specify it, the response includes only records beyond the marker, up to the value that you specify in MaxRecords .

      Parameters:
      marker - An optional pagination token from a previous DescribeBranches response. If you specify it, the response includes only records beyond the marker, up to the value that you specify in MaxRecords.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxRecords

      DescribeBranchesRequest.Builder maxRecords(Integer maxRecords)

      The maximum number of records to include in the response. If more records exist than the MaxRecords value 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 the MaxRecords value 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.