Interface DescribeRegionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DescribeRegionsRequest.Builder,DescribeRegionsRequest>, Ec2Request.Builder, SdkBuilder<DescribeRegionsRequest.Builder,DescribeRegionsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribeRegionsRequest

public static interface DescribeRegionsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeRegionsRequest.Builder,DescribeRegionsRequest>
  • Method Details

    • filters

      The filters.

      • endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).

      • opt-in-status - The opt-in status of the Region (opt-in-not-required | opted-in | not-opted-in).

      • region-name - The name of the Region (for example, us-east-1).

      Parameters:
      filters - The filters.

      • endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).

      • opt-in-status - The opt-in status of the Region (opt-in-not-required | opted-in | not-opted-in).

      • region-name - The name of the Region (for example, us-east-1).

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

      The filters.

      • endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).

      • opt-in-status - The opt-in status of the Region (opt-in-not-required | opted-in | not-opted-in).

      • region-name - The name of the Region (for example, us-east-1).

      Parameters:
      filters - The filters.

      • endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).

      • opt-in-status - The opt-in status of the Region (opt-in-not-required | opted-in | not-opted-in).

      • region-name - The name of the Region (for example, us-east-1).

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

      The filters.

      • endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com).

      • opt-in-status - The opt-in status of the Region (opt-in-not-required | opted-in | not-opted-in).

      • region-name - The name of the Region (for example, us-east-1).

      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:
    • regionNames

      The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.

      Parameters:
      regionNames - The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regionNames

      DescribeRegionsRequest.Builder regionNames(String... regionNames)

      The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.

      Parameters:
      regionNames - The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dryRun

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      Parameters:
      dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allRegions

      DescribeRegionsRequest.Builder allRegions(Boolean allRegions)

      Indicates whether to display all Regions, including Regions that are disabled for your account.

      Parameters:
      allRegions - Indicates whether to display all Regions, including Regions that are disabled for your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeRegionsRequest.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.