Interface HomeRegionControl.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HomeRegionControl.Builder,,HomeRegionControl> SdkBuilder<HomeRegionControl.Builder,,HomeRegionControl> SdkPojo
- Enclosing class:
HomeRegionControl
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier that's generated for each home region control.homeRegion(String homeRegion) The AWS Region that's been set as home region.requestedTime(Instant requestedTime) A timestamp representing the time when the customer calledCreateHomeregionControland set the home region for the account.default HomeRegionControl.Buildertarget(Consumer<Target.Builder> target) The target parameter specifies the identifier to which the home region is applied, which is always anACCOUNT.The target parameter specifies the identifier to which the home region is applied, which is always anACCOUNT.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 currentACCOUNT.- Parameters:
target- The target parameter specifies the identifier to which the home region is applied, which is always anACCOUNT. It applies the home region to the currentACCOUNT.- 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
This is a convenience method that creates an instance of theACCOUNT. It applies the home region to the currentACCOUNT.Target.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(Target).- Parameters:
target- a consumer that will call methods onTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestedTime
A timestamp representing the time when the customer called
CreateHomeregionControland set the home region for the account.- Parameters:
requestedTime- A timestamp representing the time when the customer calledCreateHomeregionControland set the home region for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-