Java com.amazonaws.services.ec2.model LaunchSpecification fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.ec2.model LaunchSpecification fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.ec2.model LaunchSpecification.

The text is from its open source code.

Constructor

Method

voidsetAllSecurityGroups(java.util.Collection allSecurityGroups)

One or more security groups.

voidsetBlockDeviceMappings(java.util.Collection blockDeviceMappings)

One or more block device mapping entries.

voidsetIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)

The IAM instance profile.

voidsetImageId(String imageId)

The ID of the AMI.

voidsetInstanceType(String instanceType)

The instance type.

voidsetInstanceType(InstanceType instanceType)

The instance type.

voidsetKeyName(String keyName)

The name of the key pair.

voidsetMonitoringEnabled(Boolean monitoringEnabled)
voidsetPlacement(SpotPlacement placement)

The placement information for the instance.

voidsetSecurityGroups(java.util.Collection securityGroups)

One or more security group names.

voidsetSubnetId(String subnetId)

The ID of the subnet in which to launch the instance.

voidsetUserData(String userData)

The Base64-encoded user data for the instance.

LaunchSpecificationwithInstanceType(String instanceType)

The instance type.

LaunchSpecificationwithInstanceType(InstanceType instanceType)

The instance type.

LaunchSpecificationwithNetworkInterfaces(InstanceNetworkInterfaceSpecification... networkInterfaces)

One or more network interfaces.

LaunchSpecificationwithNetworkInterfaces( java.util.Collection networkInterfaces)

One or more network interfaces.