Interface Region.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Region.Builder,Region>, SdkBuilder<Region.Builder,Region>, SdkPojo
Enclosing class:
Region

@Mutable @NotThreadSafe public static interface Region.Builder extends SdkPojo, CopyableBuilder<Region.Builder,Region>
  • Method Details

    • optInStatus

      Region.Builder optInStatus(String optInStatus)

      The Region opt-in status. The possible values are opt-in-not-required, opted-in, and not-opted-in.

      Parameters:
      optInStatus - The Region opt-in status. The possible values are opt-in-not-required, opted-in, and not-opted-in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geography

      Region.Builder geography(Collection<RegionGeography> geography)

      The geography information for the Region. The geography is returned as a list.

      Parameters:
      geography - The geography information for the Region. The geography is returned as a list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geography

      Region.Builder geography(RegionGeography... geography)

      The geography information for the Region. The geography is returned as a list.

      Parameters:
      geography - The geography information for the Region. The geography is returned as a list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geography

      The geography information for the Region. The geography is returned as a list.

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

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

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

      Region.Builder regionName(String regionName)

      The name of the Region.

      Parameters:
      regionName - The name of the Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      Region.Builder endpoint(String endpoint)

      The Region service endpoint.

      Parameters:
      endpoint - The Region service endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.