Interface Placement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Placement.Builder,
,Placement> SdkBuilder<Placement.Builder,
,Placement> SdkPojo
- Enclosing class:
Placement
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone where your build and test instances will launch.The ID of the Dedicated Host on which build and test instances run.hostResourceGroupArn
(String hostResourceGroupArn) The Amazon Resource Name (ARN) of the host resource group in which to launch build and test instances.The tenancy of the instance.tenancy
(TenancyType tenancy) The tenancy of the instance.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 Details
-
availabilityZone
The Availability Zone where your build and test instances will launch.
- Parameters:
availabilityZone
- The Availability Zone where your build and test instances will launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancy
The tenancy of the instance. An instance with a tenancy of
dedicated
runs on single-tenant hardware. An instance with a tenancy ofhost
runs on a Dedicated Host.If tenancy is set to
host
, then you can optionally specify one target for placement – either host ID or host resource group ARN. If automatic placement is enabled for your host, and you don't specify any placement target, Amazon EC2 will try to find an available host for your build and test instances.- Parameters:
tenancy
- The tenancy of the instance. An instance with a tenancy ofdedicated
runs on single-tenant hardware. An instance with a tenancy ofhost
runs on a Dedicated Host.If tenancy is set to
host
, then you can optionally specify one target for placement – either host ID or host resource group ARN. If automatic placement is enabled for your host, and you don't specify any placement target, Amazon EC2 will try to find an available host for your build and test instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tenancy
The tenancy of the instance. An instance with a tenancy of
dedicated
runs on single-tenant hardware. An instance with a tenancy ofhost
runs on a Dedicated Host.If tenancy is set to
host
, then you can optionally specify one target for placement – either host ID or host resource group ARN. If automatic placement is enabled for your host, and you don't specify any placement target, Amazon EC2 will try to find an available host for your build and test instances.- Parameters:
tenancy
- The tenancy of the instance. An instance with a tenancy ofdedicated
runs on single-tenant hardware. An instance with a tenancy ofhost
runs on a Dedicated Host.If tenancy is set to
host
, then you can optionally specify one target for placement – either host ID or host resource group ARN. If automatic placement is enabled for your host, and you don't specify any placement target, Amazon EC2 will try to find an available host for your build and test instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostId
The ID of the Dedicated Host on which build and test instances run. This only applies if
tenancy
ishost
. If you specify the host ID, you must not specify the resource group ARN. If you specify both, Image Builder returns an error.- Parameters:
hostId
- The ID of the Dedicated Host on which build and test instances run. This only applies iftenancy
ishost
. If you specify the host ID, you must not specify the resource group ARN. If you specify both, Image Builder returns an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostResourceGroupArn
The Amazon Resource Name (ARN) of the host resource group in which to launch build and test instances. This only applies if
tenancy
ishost
. If you specify the resource group ARN, you must not specify the host ID. If you specify both, Image Builder returns an error.- Parameters:
hostResourceGroupArn
- The Amazon Resource Name (ARN) of the host resource group in which to launch build and test instances. This only applies iftenancy
ishost
. If you specify the resource group ARN, you must not specify the host ID. If you specify both, Image Builder returns an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-