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