Interface GetRegionsResponse.Builder

    • Method Detail

      • regions

        GetRegionsResponse.Builder regions​(Collection<Region> regions)

        An array of key-value pairs containing information about your get regions request.

        Parameters:
        regions - An array of key-value pairs containing information about your get regions request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regions

        GetRegionsResponse.Builder regions​(Region... regions)

        An array of key-value pairs containing information about your get regions request.

        Parameters:
        regions - An array of key-value pairs containing information about your get regions request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regions

        GetRegionsResponse.Builder regions​(Consumer<Region.Builder>... regions)

        An array of key-value pairs containing information about your get regions request.

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

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

        Parameters:
        regions - a consumer that will call methods on Region.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #regions(java.util.Collection)