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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HomeRegionControl.BuildercontrolId(String controlId)A unique identifier that's generated for each home region control.HomeRegionControl.BuilderhomeRegion(String homeRegion)The AWS Region that's been set as home region.HomeRegionControl.BuilderrequestedTime(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.HomeRegionControl.Buildertarget(Target target)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
HomeRegionControl.Builder target(Target 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
default HomeRegionControl.Builder target(Consumer<Target.Builder> 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:
target(Target)
-
requestedTime
HomeRegionControl.Builder requestedTime(Instant 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.
-
-