@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder,AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails>
Information about the target Capacity Reservation or Capacity Reservation group in which to run an Amazon EC2 instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder |
builder() |
String |
capacityReservationId()
The ID of the Capacity Reservation in which to run the instance.
|
String |
capacityReservationResourceGroupArn()
The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder> |
serializableBuilderClass() |
AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String capacityReservationId()
The ID of the Capacity Reservation in which to run the instance.
public final String capacityReservationResourceGroupArn()
The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.
public AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder toBuilder()
public static AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder builder()
public static Class<? extends AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.