public static interface RequestSpotLaunchSpecification.Builder extends SdkPojo, CopyableBuilder<RequestSpotLaunchSpecification.Builder,RequestSpotLaunchSpecification>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRequestSpotLaunchSpecification.Builder securityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
securityGroupIds - The IDs of the security groups.RequestSpotLaunchSpecification.Builder securityGroupIds(String... securityGroupIds)
The IDs of the security groups.
securityGroupIds - The IDs of the security groups.RequestSpotLaunchSpecification.Builder securityGroups(Collection<String> securityGroups)
Not supported.
securityGroups - Not supported.RequestSpotLaunchSpecification.Builder securityGroups(String... securityGroups)
Not supported.
securityGroups - Not supported.RequestSpotLaunchSpecification.Builder addressingType(String addressingType)
Deprecated.
addressingType - Deprecated.RequestSpotLaunchSpecification.Builder blockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
The block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
blockDeviceMappings - The block device mapping entries. You can't specify both a snapshot ID and an encryption value. This
is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume,
it is not blank and its encryption status is used for the volume encryption status.RequestSpotLaunchSpecification.Builder blockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
The block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
blockDeviceMappings - The block device mapping entries. You can't specify both a snapshot ID and an encryption value. This
is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume,
it is not blank and its encryption status is used for the volume encryption status.RequestSpotLaunchSpecification.Builder blockDeviceMappings(Consumer<BlockDeviceMapping.Builder>... blockDeviceMappings)
The block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
This is a convenience method that creates an instance of theBlockDeviceMapping.Builder avoiding the need to create one
manually via BlockDeviceMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #blockDeviceMappings(List.
blockDeviceMappings - a consumer that will call methods on
BlockDeviceMapping.Builder#blockDeviceMappings(java.util.Collection) RequestSpotLaunchSpecification.Builder ebsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default: false
ebsOptimized - Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated
throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance.
This optimization isn't available with all instance types. Additional usage charges apply when using
an EBS Optimized instance.
Default: false
RequestSpotLaunchSpecification.Builder iamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile - The IAM instance profile.default RequestSpotLaunchSpecification.Builder iamInstanceProfile(Consumer<IamInstanceProfileSpecification.Builder> iamInstanceProfile)
The IAM instance profile.
This is a convenience method that creates an instance of theIamInstanceProfileSpecification.Builder
avoiding the need to create one manually via IamInstanceProfileSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to iamInstanceProfile(IamInstanceProfileSpecification).
iamInstanceProfile - a consumer that will call methods on IamInstanceProfileSpecification.BuilderiamInstanceProfile(IamInstanceProfileSpecification)RequestSpotLaunchSpecification.Builder imageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.RequestSpotLaunchSpecification.Builder instanceType(String instanceType)
The instance type. Only one instance type can be specified.
instanceType - The instance type. Only one instance type can be specified.InstanceType,
InstanceTypeRequestSpotLaunchSpecification.Builder instanceType(InstanceType instanceType)
The instance type. Only one instance type can be specified.
instanceType - The instance type. Only one instance type can be specified.InstanceType,
InstanceTypeRequestSpotLaunchSpecification.Builder kernelId(String kernelId)
The ID of the kernel.
kernelId - The ID of the kernel.RequestSpotLaunchSpecification.Builder keyName(String keyName)
The name of the key pair.
keyName - The name of the key pair.RequestSpotLaunchSpecification.Builder monitoring(RunInstancesMonitoringEnabled monitoring)
Indicates whether basic or detailed monitoring is enabled for the instance.
Default: Disabled
monitoring - Indicates whether basic or detailed monitoring is enabled for the instance.
Default: Disabled
default RequestSpotLaunchSpecification.Builder monitoring(Consumer<RunInstancesMonitoringEnabled.Builder> monitoring)
Indicates whether basic or detailed monitoring is enabled for the instance.
Default: Disabled
This is a convenience method that creates an instance of theRunInstancesMonitoringEnabled.Builder
avoiding the need to create one manually via RunInstancesMonitoringEnabled.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to monitoring(RunInstancesMonitoringEnabled).
monitoring - a consumer that will call methods on RunInstancesMonitoringEnabled.Buildermonitoring(RunInstancesMonitoringEnabled)RequestSpotLaunchSpecification.Builder networkInterfaces(Collection<InstanceNetworkInterfaceSpecification> networkInterfaces)
The network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.
networkInterfaces - The network interfaces. If you specify a network interface, you must specify subnet IDs and security
group IDs using the network interface.RequestSpotLaunchSpecification.Builder networkInterfaces(InstanceNetworkInterfaceSpecification... networkInterfaces)
The network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.
networkInterfaces - The network interfaces. If you specify a network interface, you must specify subnet IDs and security
group IDs using the network interface.RequestSpotLaunchSpecification.Builder networkInterfaces(Consumer<InstanceNetworkInterfaceSpecification.Builder>... networkInterfaces)
The network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.
This is a convenience method that creates an instance of theInstanceNetworkInterfaceSpecification.Builder avoiding the
need to create one manually via
InstanceNetworkInterfaceSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #networkInterfaces(List.
networkInterfaces - a consumer that will call methods on
InstanceNetworkInterfaceSpecification.Builder#networkInterfaces(java.util.Collection) RequestSpotLaunchSpecification.Builder placement(SpotPlacement placement)
The placement information for the instance.
placement - The placement information for the instance.default RequestSpotLaunchSpecification.Builder placement(Consumer<SpotPlacement.Builder> placement)
The placement information for the instance.
This is a convenience method that creates an instance of theSpotPlacement.Builder avoiding the need
to create one manually via SpotPlacement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to placement(SpotPlacement).
placement - a consumer that will call methods on SpotPlacement.Builderplacement(SpotPlacement)RequestSpotLaunchSpecification.Builder ramdiskId(String ramdiskId)
The ID of the RAM disk.
ramdiskId - The ID of the RAM disk.RequestSpotLaunchSpecification.Builder subnetId(String subnetId)
The ID of the subnet in which to launch the instance.
subnetId - The ID of the subnet in which to launch the instance.RequestSpotLaunchSpecification.Builder userData(String userData)
The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
userData - The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.Copyright © 2023. All rights reserved.