Class AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder,AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
capacityReservationId
public final String capacityReservationId()
The ID of the Capacity Reservation in which to run the instance.
- Returns:
- The ID of the Capacity Reservation in which to run the instance.
-
capacityReservationResourceGroupArn
public final String capacityReservationResourceGroupArn()
The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.
- Returns:
- The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.
-
toBuilder
public AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder toBuilder()
-
builder
public static AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-