CopyableBuilder<ScheduledInstancesLaunchSpecification.Builder,ScheduledInstancesLaunchSpecification>
, SdkBuilder<ScheduledInstancesLaunchSpecification.Builder,ScheduledInstancesLaunchSpecification>
public static interface ScheduledInstancesLaunchSpecification.Builder extends CopyableBuilder<ScheduledInstancesLaunchSpecification.Builder,ScheduledInstancesLaunchSpecification>
copy
apply, build
ScheduledInstancesLaunchSpecification.Builder blockDeviceMappings(Collection<ScheduledInstancesBlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
blockDeviceMappings
- One or more block device mapping entries.ScheduledInstancesLaunchSpecification.Builder blockDeviceMappings(ScheduledInstancesBlockDeviceMapping... blockDeviceMappings)
One or more block device mapping entries.
NOTE: This method appends the values to the existing list (if any). Use
#setBlockDeviceMappings(java.util.Collection)
or
#withBlockDeviceMappings(java.util.Collection)
if you want to override the existing values.
blockDeviceMappings
- One or more block device mapping entries.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.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.ScheduledInstancesLaunchSpecification.Builder networkInterfaces(Collection<ScheduledInstancesNetworkInterface> networkInterfaces)
One or more network interfaces.
networkInterfaces
- One or more network interfaces.ScheduledInstancesLaunchSpecification.Builder networkInterfaces(ScheduledInstancesNetworkInterface... networkInterfaces)
One or more network interfaces.
NOTE: This method appends the values to the existing list (if any). Use
#setNetworkInterfaces(java.util.Collection)
or #withNetworkInterfaces(java.util.Collection)
if you want to override the existing values.
networkInterfaces
- One or more network interfaces.ScheduledInstancesLaunchSpecification.Builder placement(ScheduledInstancesPlacement placement)
The placement information.
placement
- The placement information.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 one or more security groups.
securityGroupIds
- The IDs of one or more security groups.ScheduledInstancesLaunchSpecification.Builder securityGroupIds(String... securityGroupIds)
The IDs of one or more security groups.
NOTE: This method appends the values to the existing list (if any). Use
#setSecurityGroupIds(java.util.Collection)
or #withSecurityGroupIds(java.util.Collection)
if
you want to override the existing values.
securityGroupIds
- The IDs of one or more 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.