org.jclouds.aws.ec2.compute
Class AWSEC2TemplateOptions.Builder

java.lang.Object
  extended by org.jclouds.aws.ec2.compute.AWSEC2TemplateOptions.Builder
Enclosing class:
AWSEC2TemplateOptions

public static class AWSEC2TemplateOptions.Builder
extends Object


Constructor Summary
AWSEC2TemplateOptions.Builder()
           
 
Method Summary
static AWSEC2TemplateOptions authorizePublicKey(String rsaKey)
           
static AWSEC2TemplateOptions blockDeviceMappings(Set<? extends BlockDeviceMapping> blockDeviceMappings)
           
static AWSEC2TemplateOptions blockOnPort(int port, int seconds)
           
static AWSEC2TemplateOptions enableMonitoring()
           
static AWSEC2TemplateOptions inboundPorts(int... ports)
           
static AWSEC2TemplateOptions installPrivateKey(String rsaKey)
           
static AWSEC2TemplateOptions keyPair(String keyPair)
           
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 noKeyPair()
           
static AWSEC2TemplateOptions noPlacementGroup()
           
static AWSEC2TemplateOptions overrideAuthenticateSudo(boolean authenticateSudo)
           
static AWSEC2TemplateOptions overrideCredentialsWith(Credentials credentials)
          Deprecated. 
static AWSEC2TemplateOptions overrideLoginCredentials(LoginCredentials credentials)
           
static AWSEC2TemplateOptions overrideLoginCredentialWith(String credential)
          Deprecated. 
static AWSEC2TemplateOptions overrideLoginPassword(String password)
           
static AWSEC2TemplateOptions overrideLoginPrivateKey(String privateKey)
           
static AWSEC2TemplateOptions overrideLoginUser(String user)
           
static AWSEC2TemplateOptions overrideLoginUserWith(String user)
          Deprecated. 
static AWSEC2TemplateOptions placementGroup(String placementGroup)
           
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 spotPrice(Float spotPrice)
           
static AWSEC2TemplateOptions subnetId(String subnetId)
           
static AWSEC2TemplateOptions unmapDeviceNamed(String deviceName)
           
static AWSEC2TemplateOptions userData(byte[] unencodedData)
           
static AWSEC2TemplateOptions userMetadata(Map<String,String> userMetadata)
           
static AWSEC2TemplateOptions userMetadata(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWSEC2TemplateOptions.Builder

public AWSEC2TemplateOptions.Builder()
Method Detail

overrideLoginUserWith

@Deprecated
public static AWSEC2TemplateOptions overrideLoginUserWith(String user)
Deprecated. 


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)

overrideLoginCredentialWith

@Deprecated
public static AWSEC2TemplateOptions overrideLoginCredentialWith(String credential)
Deprecated. 


overrideCredentialsWith

@Deprecated
public static AWSEC2TemplateOptions overrideCredentialsWith(Credentials credentials)
Deprecated. 


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)
See Also:
EC2TemplateOptions.mapEBSSnapshotToDeviceName(java.lang.String, java.lang.String, java.lang.Integer, boolean)

mapNewVolumeToDeviceName

public static AWSEC2TemplateOptions mapNewVolumeToDeviceName(String deviceName,
                                                             int sizeInGib,
                                                             boolean deleteOnTermination)
See Also:
EC2TemplateOptions.mapNewVolumeToDeviceName(java.lang.String, int, boolean)

mapEphemeralDeviceToDeviceName

public static AWSEC2TemplateOptions mapEphemeralDeviceToDeviceName(String deviceName,
                                                                   String virtualName)
See Also:
EC2TemplateOptions.mapEphemeralDeviceToDeviceName(java.lang.String, java.lang.String)

unmapDeviceNamed

public static AWSEC2TemplateOptions unmapDeviceNamed(String deviceName)
See Also:
EC2TemplateOptions.unmapDeviceNamed(java.lang.String)

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)
See Also:
AWSEC2TemplateOptions.keyPair(java.lang.String)

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)
See Also:
TemplateOptions.installPrivateKey(java.lang.String)

authorizePublicKey

public static AWSEC2TemplateOptions authorizePublicKey(String rsaKey)
See Also:
TemplateOptions.authorizePublicKey(java.lang.String)

subnetId

public static AWSEC2TemplateOptions subnetId(String subnetId)
See Also:
TemplateOptions#spotPrice

spotPrice

public static AWSEC2TemplateOptions spotPrice(Float spotPrice)
See Also:
TemplateOptions#spotPrice

spotOptions

public static AWSEC2TemplateOptions spotOptions(RequestSpotInstancesOptions spotOptions)
See Also:
TemplateOptions#spotOptions

userMetadata

public static AWSEC2TemplateOptions userMetadata(Map<String,String> userMetadata)
See Also:
TemplateOptions.userMetadata(Map)

userMetadata

public static AWSEC2TemplateOptions userMetadata(String key,
                                                 String value)
See Also:
TemplateOptions.userMetadata(String, String)


Copyright © 2009-2012 jclouds. All Rights Reserved.