Interface ListRegionsResponse.Builder

  • Method Details

    • regions

      The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.

      Parameters:
      regions - The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regions

      The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.

      Parameters:
      regions - The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regions

      The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.

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

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

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

      ListRegionsResponse.Builder nextToken(String nextToken)

      The pagination token to be used in subsequent calls. If the value is null, then there are no more entries.

      Parameters:
      nextToken - The pagination token to be used in subsequent calls. If the value is null, then there are no more entries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.