Package org.jclouds.aws.ec2.compute
Class AWSEC2TemplateOptions.Builder
java.lang.Object
org.jclouds.aws.ec2.compute.AWSEC2TemplateOptions.Builder
- Enclosing class:
AWSEC2TemplateOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AWSEC2TemplateOptions
authorizePublicKey
(String rsaKey) static AWSEC2TemplateOptions
blockDeviceMappings
(Set<? extends BlockDeviceMapping> blockDeviceMappings) static AWSEC2TemplateOptions
blockOnPort
(int port, int seconds) static AWSEC2TemplateOptions
blockUntilRunning
(boolean blockUntilRunning) static AWSEC2TemplateOptions
dedicatedHostId
(String hostId) static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
iamInstanceProfileName
(String name) static AWSEC2TemplateOptions
inboundPorts
(int... ports) static AWSEC2TemplateOptions
installPrivateKey
(String rsaKey) static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
mapEBSSnapshotToDeviceName
(String deviceName, String snapshotId, Integer sizeInGib, boolean deleteOnTermination) static AWSEC2TemplateOptions
mapEphemeralDeviceToDeviceName
(String deviceName, String virtualName) static AWSEC2TemplateOptions
mapNewVolumeToDeviceName
(String deviceName, int sizeInGib, boolean deleteOnTermination) static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
overrideAuthenticateSudo
(boolean authenticateSudo) static AWSEC2TemplateOptions
overrideLoginCredentials
(LoginCredentials credentials) static AWSEC2TemplateOptions
overrideLoginPassword
(String password) static AWSEC2TemplateOptions
overrideLoginPrivateKey
(String privateKey) static AWSEC2TemplateOptions
overrideLoginUser
(String user) static AWSEC2TemplateOptions
placementGroup
(String placementGroup) static AWSEC2TemplateOptions
privateIpAddress
(String address) static AWSEC2TemplateOptions
securityGroupIds
(Iterable<String> groupNames) static AWSEC2TemplateOptions
securityGroupIds
(String... groupNames) static AWSEC2TemplateOptions
securityGroups
(Iterable<String> groupIds) static AWSEC2TemplateOptions
securityGroups
(String... groupIds) static AWSEC2TemplateOptions
spotOptions
(RequestSpotInstancesOptions spotOptions) static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
static AWSEC2TemplateOptions
unmapDeviceNamed
(String deviceName) static AWSEC2TemplateOptions
userData
(byte[] unencodedData) static AWSEC2TemplateOptions
userMetadata
(String key, String value) static AWSEC2TemplateOptions
userMetadata
(Map<String, String> userMetadata)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
overrideLoginUser
-
overrideLoginPassword
-
overrideLoginPrivateKey
-
overrideAuthenticateSudo
-
overrideLoginCredentials
-
securityGroupIds
- See Also:
-
securityGroupIds
- See Also:
-
blockDeviceMappings
public static AWSEC2TemplateOptions blockDeviceMappings(Set<? extends BlockDeviceMapping> blockDeviceMappings) - See Also:
-
mapEBSSnapshotToDeviceName
public static AWSEC2TemplateOptions mapEBSSnapshotToDeviceName(String deviceName, String snapshotId, @Nullable Integer sizeInGib, boolean deleteOnTermination) - See Also:
-
mapNewVolumeToDeviceName
public static AWSEC2TemplateOptions mapNewVolumeToDeviceName(String deviceName, int sizeInGib, boolean deleteOnTermination) - See Also:
-
mapEphemeralDeviceToDeviceName
public static AWSEC2TemplateOptions mapEphemeralDeviceToDeviceName(String deviceName, String virtualName) - See Also:
-
unmapDeviceNamed
- See Also:
-
securityGroups
- See Also:
-
securityGroups
- See Also:
-
keyPair
- See Also:
-
userData
- See Also:
-
noKeyPair
- See Also:
-
placementGroup
- See Also:
-
noPlacementGroup
- See Also:
-
enableMonitoring
- See Also:
-
inboundPorts
- See Also:
-
blockOnPort
- See Also:
-
installPrivateKey
- See Also:
-
authorizePublicKey
- See Also:
-
subnetId
- See Also:
-
iamInstanceProfileArn
- See Also:
-
iamInstanceProfileName
- See Also:
-
privateIpAddress
-
tenancy
- See Also:
-
dedicatedHostId
- See Also:
-
spotPrice
- See Also:
-
spotOptions
- See Also:
-
userMetadata
- See Also:
-
userMetadata
- See Also:
-
blockUntilRunning
-
nodeNames
- See Also:
-
networks
- See Also:
-