@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2LaunchTemplateDataPlacementDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2LaunchTemplateDataPlacementDetails.Builder,AwsEc2LaunchTemplateDataPlacementDetails>
Provides details about the placement of an Amazon EC2 instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2LaunchTemplateDataPlacementDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
affinity()
The affinity setting for an instance on an EC2 Dedicated Host.
|
String |
availabilityZone()
The Availability Zone for the instance.
|
static AwsEc2LaunchTemplateDataPlacementDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupName()
The name of the placement group for the instance.
|
int |
hashCode() |
String |
hostId()
The ID of the Dedicated Host for the instance.
|
String |
hostResourceGroupArn()
The Amazon Resource Name (ARN) of the host resource group in which to launch the instances.
|
Integer |
partitionNumber()
The number of the partition the instance should launch in.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEc2LaunchTemplateDataPlacementDetails.Builder> |
serializableBuilderClass() |
String |
spreadDomain()
Reserved for future use.
|
String |
tenancy()
The tenancy of the instance (if the instance is running in a VPC).
|
AwsEc2LaunchTemplateDataPlacementDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String affinity()
The affinity setting for an instance on an EC2 Dedicated Host.
public final String availabilityZone()
The Availability Zone for the instance.
public final String groupName()
The name of the placement group for the instance.
public final String hostId()
The ID of the Dedicated Host for the instance.
public final String hostResourceGroupArn()
The Amazon Resource Name (ARN) of the host resource group in which to launch the instances.
public final Integer partitionNumber()
The number of the partition the instance should launch in.
public final String spreadDomain()
Reserved for future use.
public final String tenancy()
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
public AwsEc2LaunchTemplateDataPlacementDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEc2LaunchTemplateDataPlacementDetails.Builder,AwsEc2LaunchTemplateDataPlacementDetails>public static AwsEc2LaunchTemplateDataPlacementDetails.Builder builder()
public static Class<? extends AwsEc2LaunchTemplateDataPlacementDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.