@Stability(value=Stable) public static final class CfnLaunchTemplate.PlacementProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplate.PlacementProperty>
CfnLaunchTemplate.PlacementProperty
Constructor and Description |
---|
Builder() |
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder affinity(String affinity)
CfnLaunchTemplate.PlacementProperty.getAffinity()
affinity
- `CfnLaunchTemplate.PlacementProperty.Affinity`.this
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder availabilityZone(String availabilityZone)
CfnLaunchTemplate.PlacementProperty.getAvailabilityZone()
availabilityZone
- `CfnLaunchTemplate.PlacementProperty.AvailabilityZone`.this
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder groupName(String groupName)
CfnLaunchTemplate.PlacementProperty.getGroupName()
groupName
- `CfnLaunchTemplate.PlacementProperty.GroupName`.this
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder hostId(String hostId)
CfnLaunchTemplate.PlacementProperty.getHostId()
hostId
- `CfnLaunchTemplate.PlacementProperty.HostId`.this
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder hostResourceGroupArn(String hostResourceGroupArn)
CfnLaunchTemplate.PlacementProperty.getHostResourceGroupArn()
hostResourceGroupArn
- `CfnLaunchTemplate.PlacementProperty.HostResourceGroupArn`.this
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder partitionNumber(Number partitionNumber)
CfnLaunchTemplate.PlacementProperty.getPartitionNumber()
partitionNumber
- `CfnLaunchTemplate.PlacementProperty.PartitionNumber`.this
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder spreadDomain(String spreadDomain)
CfnLaunchTemplate.PlacementProperty.getSpreadDomain()
spreadDomain
- `CfnLaunchTemplate.PlacementProperty.SpreadDomain`.this
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder tenancy(String tenancy)
CfnLaunchTemplate.PlacementProperty.getTenancy()
tenancy
- `CfnLaunchTemplate.PlacementProperty.Tenancy`.this
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty build()
build
in interface software.amazon.jsii.Builder<CfnLaunchTemplate.PlacementProperty>
CfnLaunchTemplate.PlacementProperty
NullPointerException
- if any required attribute was not providedCopyright © 2020. All rights reserved.