public static class AWSEC2TemplateOptions.Builder extends Object
Constructor and Description |
---|
AWSEC2TemplateOptions.Builder() |
public static AWSEC2TemplateOptions overrideLoginUser(String user)
public static AWSEC2TemplateOptions overrideLoginPassword(String password)
public static AWSEC2TemplateOptions overrideLoginPrivateKey(String privateKey)
public static AWSEC2TemplateOptions overrideAuthenticateSudo(boolean authenticateSudo)
public static AWSEC2TemplateOptions overrideLoginCredentials(LoginCredentials credentials)
public static AWSEC2TemplateOptions securityGroupIds(String... groupNames)
AWSEC2TemplateOptions#securityGroupIds(Iterable)
public static AWSEC2TemplateOptions securityGroupIds(Iterable<String> groupNames)
AWSEC2TemplateOptions#securityGroupIds(Iterable)
public static AWSEC2TemplateOptions blockDeviceMappings(Set<? extends BlockDeviceMapping> blockDeviceMappings)
public static AWSEC2TemplateOptions mapEBSSnapshotToDeviceName(String deviceName, String snapshotId, @Nullable Integer sizeInGib, boolean deleteOnTermination)
public static AWSEC2TemplateOptions mapNewVolumeToDeviceName(String deviceName, int sizeInGib, boolean deleteOnTermination)
public static AWSEC2TemplateOptions mapEphemeralDeviceToDeviceName(String deviceName, String virtualName)
public static AWSEC2TemplateOptions unmapDeviceNamed(String deviceName)
public static AWSEC2TemplateOptions securityGroups(String... groupIds)
AWSEC2TemplateOptions#securityGroups(Iterable)
public static AWSEC2TemplateOptions securityGroups(Iterable<String> groupIds)
AWSEC2TemplateOptions#securityGroups(Iterable)
public static AWSEC2TemplateOptions keyPair(String keyPair)
public static AWSEC2TemplateOptions userData(byte[] unencodedData)
public static AWSEC2TemplateOptions noKeyPair()
AWSEC2TemplateOptions.noKeyPair()
public static AWSEC2TemplateOptions placementGroup(String placementGroup)
AWSEC2TemplateOptions.placementGroup
public static AWSEC2TemplateOptions noPlacementGroup()
public static AWSEC2TemplateOptions enableMonitoring()
public static AWSEC2TemplateOptions inboundPorts(int... ports)
TemplateOptions.inboundPorts
public static AWSEC2TemplateOptions blockOnPort(int port, int seconds)
RunScriptOptions.port
public static AWSEC2TemplateOptions installPrivateKey(String rsaKey)
public static AWSEC2TemplateOptions authorizePublicKey(String rsaKey)
public static AWSEC2TemplateOptions subnetId(String subnetId)
TemplateOptions#spotPrice
public static AWSEC2TemplateOptions spotPrice(Float spotPrice)
TemplateOptions#spotPrice
public static AWSEC2TemplateOptions spotOptions(RequestSpotInstancesOptions spotOptions)
TemplateOptions#spotOptions
public static AWSEC2TemplateOptions userMetadata(Map<String,String> userMetadata)
TemplateOptions.userMetadata(Map)
public static AWSEC2TemplateOptions userMetadata(String key, String value)
Copyright © 2009-2013 jclouds. All Rights Reserved.