public static interface ScheduledInstancesLaunchSpecification.Builder extends SdkPojo, CopyableBuilder<ScheduledInstancesLaunchSpecification.Builder,ScheduledInstancesLaunchSpecification>
equalsBySdkFields, sdkFields
copy
applyMutation, build
ScheduledInstancesLaunchSpecification.Builder blockDeviceMappings(Collection<ScheduledInstancesBlockDeviceMapping> blockDeviceMappings)
The block device mapping entries.
blockDeviceMappings
- The block device mapping entries.ScheduledInstancesLaunchSpecification.Builder blockDeviceMappings(ScheduledInstancesBlockDeviceMapping... blockDeviceMappings)
The block device mapping entries.
blockDeviceMappings
- The block device mapping entries.ScheduledInstancesLaunchSpecification.Builder blockDeviceMappings(Consumer<ScheduledInstancesBlockDeviceMapping.Builder>... blockDeviceMappings)
The block device mapping entries.
This is a convenience method that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #blockDeviceMappings(List)
.blockDeviceMappings
- a consumer that will call methods on List.Builder
#blockDeviceMappings(List)
ScheduledInstancesLaunchSpecification.Builder ebsOptimized(Boolean ebsOptimized)
Indicates whether the instances are 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 instances are 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
ScheduledInstancesLaunchSpecification.Builder iamInstanceProfile(ScheduledInstancesIamInstanceProfile iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile
- The IAM instance profile.default ScheduledInstancesLaunchSpecification.Builder iamInstanceProfile(Consumer<ScheduledInstancesIamInstanceProfile.Builder> iamInstanceProfile)
The IAM instance profile.
This is a convenience method that creates an instance of theScheduledInstancesIamInstanceProfile.Builder
avoiding the need to create one manually via
ScheduledInstancesIamInstanceProfile.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to iamInstanceProfile(ScheduledInstancesIamInstanceProfile)
.iamInstanceProfile
- a consumer that will call methods on ScheduledInstancesIamInstanceProfile.Builder
iamInstanceProfile(ScheduledInstancesIamInstanceProfile)
ScheduledInstancesLaunchSpecification.Builder imageId(String imageId)
The ID of the Amazon Machine Image (AMI).
imageId
- The ID of the Amazon Machine Image (AMI).ScheduledInstancesLaunchSpecification.Builder instanceType(String instanceType)
The instance type.
instanceType
- The instance type.ScheduledInstancesLaunchSpecification.Builder kernelId(String kernelId)
The ID of the kernel.
kernelId
- The ID of the kernel.ScheduledInstancesLaunchSpecification.Builder keyName(String keyName)
The name of the key pair.
keyName
- The name of the key pair.ScheduledInstancesLaunchSpecification.Builder monitoring(ScheduledInstancesMonitoring monitoring)
Enable or disable monitoring for the instances.
monitoring
- Enable or disable monitoring for the instances.default ScheduledInstancesLaunchSpecification.Builder monitoring(Consumer<ScheduledInstancesMonitoring.Builder> monitoring)
Enable or disable monitoring for the instances.
This is a convenience method that creates an instance of theScheduledInstancesMonitoring.Builder
avoiding the need to create one manually via ScheduledInstancesMonitoring.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to monitoring(ScheduledInstancesMonitoring)
.monitoring
- a consumer that will call methods on ScheduledInstancesMonitoring.Builder
monitoring(ScheduledInstancesMonitoring)
ScheduledInstancesLaunchSpecification.Builder networkInterfaces(Collection<ScheduledInstancesNetworkInterface> networkInterfaces)
The network interfaces.
networkInterfaces
- The network interfaces.ScheduledInstancesLaunchSpecification.Builder networkInterfaces(ScheduledInstancesNetworkInterface... networkInterfaces)
The network interfaces.
networkInterfaces
- The network interfaces.ScheduledInstancesLaunchSpecification.Builder networkInterfaces(Consumer<ScheduledInstancesNetworkInterface.Builder>... networkInterfaces)
The network interfaces.
This is a convenience method that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #networkInterfaces(List)
.networkInterfaces
- a consumer that will call methods on List.Builder
#networkInterfaces(List)
ScheduledInstancesLaunchSpecification.Builder placement(ScheduledInstancesPlacement placement)
The placement information.
placement
- The placement information.default ScheduledInstancesLaunchSpecification.Builder placement(Consumer<ScheduledInstancesPlacement.Builder> placement)
The placement information.
This is a convenience method that creates an instance of theScheduledInstancesPlacement.Builder
avoiding the need to create one manually via ScheduledInstancesPlacement.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to placement(ScheduledInstancesPlacement)
.placement
- a consumer that will call methods on ScheduledInstancesPlacement.Builder
placement(ScheduledInstancesPlacement)
ScheduledInstancesLaunchSpecification.Builder ramdiskId(String ramdiskId)
The ID of the RAM disk.
ramdiskId
- The ID of the RAM disk.ScheduledInstancesLaunchSpecification.Builder securityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
securityGroupIds
- The IDs of the security groups.ScheduledInstancesLaunchSpecification.Builder securityGroupIds(String... securityGroupIds)
The IDs of the security groups.
securityGroupIds
- The IDs of the security groups.ScheduledInstancesLaunchSpecification.Builder subnetId(String subnetId)
The ID of the subnet in which to launch the instances.
subnetId
- The ID of the subnet in which to launch the instances.ScheduledInstancesLaunchSpecification.Builder userData(String userData)
The base64-encoded MIME user data.
userData
- The base64-encoded MIME user data.Copyright © 2022. All rights reserved.