public static interface AwsEc2LaunchTemplateDataDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataDetails.Builder,AwsEc2LaunchTemplateDataDetails>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2LaunchTemplateDataDetails.Builder blockDeviceMappingSet(Collection<AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails> blockDeviceMappingSet)
Information about a block device mapping for an Amazon EC2 launch template.
blockDeviceMappingSet - Information about a block device mapping for an Amazon EC2 launch template.AwsEc2LaunchTemplateDataDetails.Builder blockDeviceMappingSet(AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails... blockDeviceMappingSet)
Information about a block device mapping for an Amazon EC2 launch template.
blockDeviceMappingSet - Information about a block device mapping for an Amazon EC2 launch template.AwsEc2LaunchTemplateDataDetails.Builder blockDeviceMappingSet(Consumer<AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder>... blockDeviceMappingSet)
Information about a block device mapping for an Amazon EC2 launch template.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder
avoiding the need to create one manually via
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #blockDeviceMappingSet(List.
blockDeviceMappingSet - a consumer that will call methods on
AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails.Builder#blockDeviceMappingSet(java.util.Collection) AwsEc2LaunchTemplateDataDetails.Builder capacityReservationSpecification(AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails capacityReservationSpecification)
Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a time.
capacityReservationSpecification - Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a
time.default AwsEc2LaunchTemplateDataDetails.Builder capacityReservationSpecification(Consumer<AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails.Builder> capacityReservationSpecification)
Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a time.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails.Builder avoiding the need to create
one manually via AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to
capacityReservationSpecification(AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails).
capacityReservationSpecification - a consumer that will call methods on
AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails.BuildercapacityReservationSpecification(AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails)AwsEc2LaunchTemplateDataDetails.Builder cpuOptions(AwsEc2LaunchTemplateDataCpuOptionsDetails cpuOptions)
Specifies the CPU options for an instance. For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide.
cpuOptions - Specifies the CPU options for an instance. For more information, see Optimize CPU
options in the Amazon Elastic Compute Cloud User Guide.default AwsEc2LaunchTemplateDataDetails.Builder cpuOptions(Consumer<AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder> cpuOptions)
Specifies the CPU options for an instance. For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataCpuOptionsDetails.Builder avoiding the need to create one manually via
AwsEc2LaunchTemplateDataCpuOptionsDetails.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to cpuOptions(AwsEc2LaunchTemplateDataCpuOptionsDetails).
cpuOptions - a consumer that will call methods on AwsEc2LaunchTemplateDataCpuOptionsDetails.BuildercpuOptions(AwsEc2LaunchTemplateDataCpuOptionsDetails)AwsEc2LaunchTemplateDataDetails.Builder creditSpecification(AwsEc2LaunchTemplateDataCreditSpecificationDetails creditSpecification)
Specifies the credit option for CPU usage of a T2, T3, or T3a instance.
creditSpecification - Specifies the credit option for CPU usage of a T2, T3, or T3a instance.default AwsEc2LaunchTemplateDataDetails.Builder creditSpecification(Consumer<AwsEc2LaunchTemplateDataCreditSpecificationDetails.Builder> creditSpecification)
Specifies the credit option for CPU usage of a T2, T3, or T3a instance.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataCreditSpecificationDetails.Builder avoiding the need to create one manually
via AwsEc2LaunchTemplateDataCreditSpecificationDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to creditSpecification(AwsEc2LaunchTemplateDataCreditSpecificationDetails).
creditSpecification - a consumer that will call methods on
AwsEc2LaunchTemplateDataCreditSpecificationDetails.BuildercreditSpecification(AwsEc2LaunchTemplateDataCreditSpecificationDetails)AwsEc2LaunchTemplateDataDetails.Builder disableApiStop(Boolean disableApiStop)
Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection in the Amazon EC2 User Guide.
disableApiStop - Indicates whether to enable the instance for stop protection. For more information, see Enable
stop protection in the Amazon EC2 User Guide.AwsEc2LaunchTemplateDataDetails.Builder disableApiTermination(Boolean disableApiTermination)
If you set this parameter to true, you can't terminate the instance using the Amazon EC2
console, CLI, or API. If set to true, you can.
disableApiTermination - If you set this parameter to true, you can't terminate the instance using the Amazon EC2
console, CLI, or API. If set to true, you can.AwsEc2LaunchTemplateDataDetails.Builder ebsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
ebsOptimized - Indicates whether the instance is optimized for Amazon EBS I/O.AwsEc2LaunchTemplateDataDetails.Builder elasticGpuSpecificationSet(Collection<AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails> elasticGpuSpecificationSet)
Provides details about Elastic Graphics accelerators to associate with the instance.
elasticGpuSpecificationSet - Provides details about Elastic Graphics accelerators to associate with the instance.AwsEc2LaunchTemplateDataDetails.Builder elasticGpuSpecificationSet(AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails... elasticGpuSpecificationSet)
Provides details about Elastic Graphics accelerators to associate with the instance.
elasticGpuSpecificationSet - Provides details about Elastic Graphics accelerators to associate with the instance.AwsEc2LaunchTemplateDataDetails.Builder elasticGpuSpecificationSet(Consumer<AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails.Builder>... elasticGpuSpecificationSet)
Provides details about Elastic Graphics accelerators to associate with the instance.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails.Builder
avoiding the need to create one manually via
AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #elasticGpuSpecificationSet(List.
elasticGpuSpecificationSet - a consumer that will call methods on
AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails.Builder#elasticGpuSpecificationSet(java.util.Collection) AwsEc2LaunchTemplateDataDetails.Builder elasticInferenceAcceleratorSet(Collection<AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails> elasticInferenceAcceleratorSet)
The Amazon Elastic Inference accelerator for the instance.
elasticInferenceAcceleratorSet - The Amazon Elastic Inference accelerator for the instance.AwsEc2LaunchTemplateDataDetails.Builder elasticInferenceAcceleratorSet(AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails... elasticInferenceAcceleratorSet)
The Amazon Elastic Inference accelerator for the instance.
elasticInferenceAcceleratorSet - The Amazon Elastic Inference accelerator for the instance.AwsEc2LaunchTemplateDataDetails.Builder elasticInferenceAcceleratorSet(Consumer<AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails.Builder>... elasticInferenceAcceleratorSet)
The Amazon Elastic Inference accelerator for the instance.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails.Builder
avoiding the need to create one manually via
AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #elasticInferenceAcceleratorSet(List.
elasticInferenceAcceleratorSet - a consumer that will call methods on
AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails.BuilderelasticInferenceAcceleratorSet(java.util.Collection<
AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails>)AwsEc2LaunchTemplateDataDetails.Builder enclaveOptions(AwsEc2LaunchTemplateDataEnclaveOptionsDetails enclaveOptions)
Indicates whether the Amazon EC2 instance is enabled for Amazon Web Services Nitro Enclaves.
enclaveOptions - Indicates whether the Amazon EC2 instance is enabled for Amazon Web Services Nitro Enclaves.default AwsEc2LaunchTemplateDataDetails.Builder enclaveOptions(Consumer<AwsEc2LaunchTemplateDataEnclaveOptionsDetails.Builder> enclaveOptions)
Indicates whether the Amazon EC2 instance is enabled for Amazon Web Services Nitro Enclaves.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataEnclaveOptionsDetails.Builder avoiding the need to create one manually via
AwsEc2LaunchTemplateDataEnclaveOptionsDetails.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
enclaveOptions(AwsEc2LaunchTemplateDataEnclaveOptionsDetails).
enclaveOptions - a consumer that will call methods on AwsEc2LaunchTemplateDataEnclaveOptionsDetails.BuilderenclaveOptions(AwsEc2LaunchTemplateDataEnclaveOptionsDetails)AwsEc2LaunchTemplateDataDetails.Builder hibernationOptions(AwsEc2LaunchTemplateDataHibernationOptionsDetails hibernationOptions)
Specifies whether your Amazon EC2 instance is configured for hibernation.
hibernationOptions - Specifies whether your Amazon EC2 instance is configured for hibernation.default AwsEc2LaunchTemplateDataDetails.Builder hibernationOptions(Consumer<AwsEc2LaunchTemplateDataHibernationOptionsDetails.Builder> hibernationOptions)
Specifies whether your Amazon EC2 instance is configured for hibernation.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataHibernationOptionsDetails.Builder avoiding the need to create one manually
via AwsEc2LaunchTemplateDataHibernationOptionsDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to hibernationOptions(AwsEc2LaunchTemplateDataHibernationOptionsDetails).
hibernationOptions - a consumer that will call methods on AwsEc2LaunchTemplateDataHibernationOptionsDetails.BuilderhibernationOptions(AwsEc2LaunchTemplateDataHibernationOptionsDetails)AwsEc2LaunchTemplateDataDetails.Builder iamInstanceProfile(AwsEc2LaunchTemplateDataIamInstanceProfileDetails iamInstanceProfile)
The name or Amazon Resource Name (ARN) of an IAM instance profile.
iamInstanceProfile - The name or Amazon Resource Name (ARN) of an IAM instance profile.default AwsEc2LaunchTemplateDataDetails.Builder iamInstanceProfile(Consumer<AwsEc2LaunchTemplateDataIamInstanceProfileDetails.Builder> iamInstanceProfile)
The name or Amazon Resource Name (ARN) of an IAM instance profile.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataIamInstanceProfileDetails.Builder avoiding the need to create one manually
via AwsEc2LaunchTemplateDataIamInstanceProfileDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to iamInstanceProfile(AwsEc2LaunchTemplateDataIamInstanceProfileDetails).
iamInstanceProfile - a consumer that will call methods on AwsEc2LaunchTemplateDataIamInstanceProfileDetails.BuilderiamInstanceProfile(AwsEc2LaunchTemplateDataIamInstanceProfileDetails)AwsEc2LaunchTemplateDataDetails.Builder imageId(String imageId)
The ID of the Amazon Machine Image (AMI).
imageId - The ID of the Amazon Machine Image (AMI).AwsEc2LaunchTemplateDataDetails.Builder instanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Provides the options for specifying the instance initiated shutdown behavior.
instanceInitiatedShutdownBehavior - Provides the options for specifying the instance initiated shutdown behavior.AwsEc2LaunchTemplateDataDetails.Builder instanceMarketOptions(AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails instanceMarketOptions)
Specifies the market (purchasing) option for an instance.
instanceMarketOptions - Specifies the market (purchasing) option for an instance.default AwsEc2LaunchTemplateDataDetails.Builder instanceMarketOptions(Consumer<AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder> instanceMarketOptions)
Specifies the market (purchasing) option for an instance.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder avoiding the need to create one manually
via AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to instanceMarketOptions(AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails).
instanceMarketOptions - a consumer that will call methods on
AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.BuilderinstanceMarketOptions(AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails)AwsEc2LaunchTemplateDataDetails.Builder instanceRequirements(AwsEc2LaunchTemplateDataInstanceRequirementsDetails instanceRequirements)
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify
instance types with these attributes. If you specify InstanceRequirements, you can't specify
InstanceType.
instanceRequirements - The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify
instance types with these attributes. If you specify InstanceRequirements, you can't
specify InstanceType.default AwsEc2LaunchTemplateDataDetails.Builder instanceRequirements(Consumer<AwsEc2LaunchTemplateDataInstanceRequirementsDetails.Builder> instanceRequirements)
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify
instance types with these attributes. If you specify InstanceRequirements, you can't specify
InstanceType.
AwsEc2LaunchTemplateDataInstanceRequirementsDetails.Builder avoiding the need to create one manually
via AwsEc2LaunchTemplateDataInstanceRequirementsDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to instanceRequirements(AwsEc2LaunchTemplateDataInstanceRequirementsDetails).
instanceRequirements - a consumer that will call methods on
AwsEc2LaunchTemplateDataInstanceRequirementsDetails.BuilderinstanceRequirements(AwsEc2LaunchTemplateDataInstanceRequirementsDetails)AwsEc2LaunchTemplateDataDetails.Builder instanceType(String instanceType)
The instance type. For more information, see Instance types in the
Amazon EC2 User Guide. If you specify InstanceType, you can't specify
InstanceRequirements.
instanceType - The instance type. For more information, see Instance types in
the Amazon EC2 User Guide. If you specify InstanceType, you can't specify
InstanceRequirements.AwsEc2LaunchTemplateDataDetails.Builder kernelId(String kernelId)
The ID of the kernel.
kernelId - The ID of the kernel.AwsEc2LaunchTemplateDataDetails.Builder keyName(String keyName)
The name of the key pair that allows users to connect to the instance.
keyName - The name of the key pair that allows users to connect to the instance.AwsEc2LaunchTemplateDataDetails.Builder licenseSet(Collection<AwsEc2LaunchTemplateDataLicenseSetDetails> licenseSet)
Specifies a license configuration for an instance.
licenseSet - Specifies a license configuration for an instance.AwsEc2LaunchTemplateDataDetails.Builder licenseSet(AwsEc2LaunchTemplateDataLicenseSetDetails... licenseSet)
Specifies a license configuration for an instance.
licenseSet - Specifies a license configuration for an instance.AwsEc2LaunchTemplateDataDetails.Builder licenseSet(Consumer<AwsEc2LaunchTemplateDataLicenseSetDetails.Builder>... licenseSet)
Specifies a license configuration for an instance.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataLicenseSetDetails.Builder
avoiding the need to create one manually via
AwsEc2LaunchTemplateDataLicenseSetDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #licenseSet(List.
licenseSet - a consumer that will call methods on
AwsEc2LaunchTemplateDataLicenseSetDetails.Builder#licenseSet(java.util.Collection) AwsEc2LaunchTemplateDataDetails.Builder maintenanceOptions(AwsEc2LaunchTemplateDataMaintenanceOptionsDetails maintenanceOptions)
The maintenance options of your instance.
maintenanceOptions - The maintenance options of your instance.default AwsEc2LaunchTemplateDataDetails.Builder maintenanceOptions(Consumer<AwsEc2LaunchTemplateDataMaintenanceOptionsDetails.Builder> maintenanceOptions)
The maintenance options of your instance.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataMaintenanceOptionsDetails.Builder avoiding the need to create one manually
via AwsEc2LaunchTemplateDataMaintenanceOptionsDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to maintenanceOptions(AwsEc2LaunchTemplateDataMaintenanceOptionsDetails).
maintenanceOptions - a consumer that will call methods on AwsEc2LaunchTemplateDataMaintenanceOptionsDetails.BuildermaintenanceOptions(AwsEc2LaunchTemplateDataMaintenanceOptionsDetails)AwsEc2LaunchTemplateDataDetails.Builder metadataOptions(AwsEc2LaunchTemplateDataMetadataOptionsDetails metadataOptions)
The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.
metadataOptions - The metadata options for the instance. For more information, see Instance
metadata and user data in the Amazon EC2 User Guide.default AwsEc2LaunchTemplateDataDetails.Builder metadataOptions(Consumer<AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder> metadataOptions)
The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder avoiding the need to create one manually via
AwsEc2LaunchTemplateDataMetadataOptionsDetails.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to
metadataOptions(AwsEc2LaunchTemplateDataMetadataOptionsDetails).
metadataOptions - a consumer that will call methods on AwsEc2LaunchTemplateDataMetadataOptionsDetails.BuildermetadataOptions(AwsEc2LaunchTemplateDataMetadataOptionsDetails)AwsEc2LaunchTemplateDataDetails.Builder monitoring(AwsEc2LaunchTemplateDataMonitoringDetails monitoring)
The monitoring for the instance.
monitoring - The monitoring for the instance.default AwsEc2LaunchTemplateDataDetails.Builder monitoring(Consumer<AwsEc2LaunchTemplateDataMonitoringDetails.Builder> monitoring)
The monitoring for the instance.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataMonitoringDetails.Builder avoiding the need to create one manually via
AwsEc2LaunchTemplateDataMonitoringDetails.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to monitoring(AwsEc2LaunchTemplateDataMonitoringDetails).
monitoring - a consumer that will call methods on AwsEc2LaunchTemplateDataMonitoringDetails.Buildermonitoring(AwsEc2LaunchTemplateDataMonitoringDetails)AwsEc2LaunchTemplateDataDetails.Builder networkInterfaceSet(Collection<AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails> networkInterfaceSet)
Specifies the parameters for a network interface that is attached to the instance.
networkInterfaceSet - Specifies the parameters for a network interface that is attached to the instance.AwsEc2LaunchTemplateDataDetails.Builder networkInterfaceSet(AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails... networkInterfaceSet)
Specifies the parameters for a network interface that is attached to the instance.
networkInterfaceSet - Specifies the parameters for a network interface that is attached to the instance.AwsEc2LaunchTemplateDataDetails.Builder networkInterfaceSet(Consumer<AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder>... networkInterfaceSet)
Specifies the parameters for a network interface that is attached to the instance.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder
avoiding the need to create one manually via
AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #networkInterfaceSet(List.
networkInterfaceSet - a consumer that will call methods on
AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder#networkInterfaceSet(java.util.Collection) AwsEc2LaunchTemplateDataDetails.Builder placement(AwsEc2LaunchTemplateDataPlacementDetails placement)
Specifies the placement of an instance.
placement - Specifies the placement of an instance.default AwsEc2LaunchTemplateDataDetails.Builder placement(Consumer<AwsEc2LaunchTemplateDataPlacementDetails.Builder> placement)
Specifies the placement of an instance.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataPlacementDetails.Builder avoiding the need to create one manually via
AwsEc2LaunchTemplateDataPlacementDetails.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to placement(AwsEc2LaunchTemplateDataPlacementDetails).
placement - a consumer that will call methods on AwsEc2LaunchTemplateDataPlacementDetails.Builderplacement(AwsEc2LaunchTemplateDataPlacementDetails)AwsEc2LaunchTemplateDataDetails.Builder privateDnsNameOptions(AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails privateDnsNameOptions)
The options for the instance hostname.
privateDnsNameOptions - The options for the instance hostname.default AwsEc2LaunchTemplateDataDetails.Builder privateDnsNameOptions(Consumer<AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails.Builder> privateDnsNameOptions)
The options for the instance hostname.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails.Builder avoiding the need to create one manually
via AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to privateDnsNameOptions(AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails).
privateDnsNameOptions - a consumer that will call methods on
AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails.BuilderprivateDnsNameOptions(AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails)AwsEc2LaunchTemplateDataDetails.Builder ramDiskId(String ramDiskId)
The ID of the RAM disk.
ramDiskId - The ID of the RAM disk.AwsEc2LaunchTemplateDataDetails.Builder securityGroupIdSet(Collection<String> securityGroupIdSet)
One or more security group IDs.
securityGroupIdSet - One or more security group IDs.AwsEc2LaunchTemplateDataDetails.Builder securityGroupIdSet(String... securityGroupIdSet)
One or more security group IDs.
securityGroupIdSet - One or more security group IDs.AwsEc2LaunchTemplateDataDetails.Builder securityGroupSet(Collection<String> securityGroupSet)
One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.
securityGroupSet - One or more security group names. For a nondefault VPC, you must use security group IDs instead. You
cannot specify both a security group ID and security name in the same request.AwsEc2LaunchTemplateDataDetails.Builder securityGroupSet(String... securityGroupSet)
One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.
securityGroupSet - One or more security group names. For a nondefault VPC, you must use security group IDs instead. You
cannot specify both a security group ID and security name in the same request.AwsEc2LaunchTemplateDataDetails.Builder userData(String userData)
The user data to make available to the instance.
userData - The user data to make available to the instance.Copyright © 2023. All rights reserved.