Interface HomeRegionControl.Builder

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

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

    • controlId

      HomeRegionControl.Builder controlId(String controlId)

      A unique identifier that's generated for each home region control. It's always a string that begins with "hrc-" followed by 12 lowercase letters and numbers.

      Parameters:
      controlId - A unique identifier that's generated for each home region control. It's always a string that begins with "hrc-" followed by 12 lowercase letters and numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • homeRegion

      HomeRegionControl.Builder homeRegion(String homeRegion)

      The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.

      Parameters:
      homeRegion - The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      The target parameter specifies the identifier to which the home region is applied, which is always an ACCOUNT. It applies the home region to the current ACCOUNT.

      Parameters:
      target - The target parameter specifies the identifier to which the home region is applied, which is always an ACCOUNT. It applies the home region to the current ACCOUNT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      The target parameter specifies the identifier to which the home region is applied, which is always an ACCOUNT. It applies the home region to the current ACCOUNT.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to target(Target).

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

      HomeRegionControl.Builder requestedTime(Instant requestedTime)

      A timestamp representing the time when the customer called CreateHomeregionControl and set the home region for the account.

      Parameters:
      requestedTime - A timestamp representing the time when the customer called CreateHomeregionControl and set the home region for the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.