Methods
Modifier and Type |
Method and Description |
AWSEC2TemplateOptions |
authorizePublicKey(String publicKey)
authorize an rsa ssh key.
|
AWSEC2TemplateOptions |
blockDeviceMappings(Iterable<? extends BlockDeviceMapping> blockDeviceMappings) |
AWSEC2TemplateOptions |
blockOnPort(int port,
int seconds)
When the node is started, wait until the following port is active
|
AWSEC2TemplateOptions |
blockUntilRunning(boolean blockUntilRunning)
Note
|
AWSEC2TemplateOptions |
clone() |
void |
copyTo(TemplateOptions to) |
AWSEC2TemplateOptions |
dedicatedHostId(String hostId)
Specifies the ID of the dedicated host on which the instance should resist.
|
AWSEC2TemplateOptions |
dontAuthorizePublicKey() |
AWSEC2TemplateOptions |
enableMonitoring()
Enable Cloudwatch monitoring
|
boolean |
equals(Object o) |
String |
getDedicatedHostId() |
Set<String> |
getGroupIds() |
String |
getIAMInstanceProfileArn()
The Amazon resource name (ARN) of the IAM Instance Profile (IIP) to associate with the instance.
|
String |
getIAMInstanceProfileName()
The name of the IAM Instance Profile (IIP) to associate with the instance.
|
String |
getPlacementGroup() |
String |
getPrivateIpAddress() |
RequestSpotInstancesOptions |
getSpotOptions() |
Float |
getSpotPrice() |
String |
getSubnetId() |
Tenancy |
getTenancy() |
int |
hashCode() |
AWSEC2TemplateOptions |
iamInstanceProfileArn(String arn) |
AWSEC2TemplateOptions |
iamInstanceProfileName(String name) |
AWSEC2TemplateOptions |
inboundPorts(int... ports)
Opens the set of ports to public access.
|
AWSEC2TemplateOptions |
installPrivateKey(String privateKey)
replaces the rsa ssh key used at login.
|
boolean |
isMonitoringEnabled() |
AWSEC2TemplateOptions |
keyPair(String keyPair)
Specifies the keypair used to run instances with
|
AWSEC2TemplateOptions |
mapEBSSnapshotToDeviceName(String deviceName,
String snapshotId,
Integer sizeInGib,
boolean deleteOnTermination) |
AWSEC2TemplateOptions |
mapEphemeralDeviceToDeviceName(String deviceName,
String virtualName) |
AWSEC2TemplateOptions |
mapNewVolumeToDeviceName(String deviceName,
int sizeInGib,
boolean deleteOnTermination) |
AWSEC2TemplateOptions |
nameTask(String name) |
AWSEC2TemplateOptions |
networks(Iterable<String> networks)
Assigns the created nodes to these networks
|
AWSEC2TemplateOptions |
nodeNames(Iterable<String> nodeNames)
specifies names to be used for the created nodes.
|
AWSEC2TemplateOptions |
noKeyPair()
Do not use a keypair on instances
|
AWSEC2TemplateOptions |
noPlacementGroup()
Do not use a keypair on instances
|
AWSEC2TemplateOptions |
overrideAuthenticateSudo(boolean authenticateSudo) |
AWSEC2TemplateOptions |
overrideLoginCredentials(LoginCredentials overridingCredentials) |
AWSEC2TemplateOptions |
overrideLoginPassword(String password) |
AWSEC2TemplateOptions |
overrideLoginPrivateKey(String privateKey) |
AWSEC2TemplateOptions |
overrideLoginUser(String loginUser) |
AWSEC2TemplateOptions |
placementGroup(String placementGroup)
Specifies the keypair used to run instances with
|
AWSEC2TemplateOptions |
privateIpAddress(String address) |
AWSEC2TemplateOptions |
runAsRoot(boolean runAsRoot) |
AWSEC2TemplateOptions |
runScript(Statement script)
This script will be executed as the root user upon system startup.
|
AWSEC2TemplateOptions |
securityGroupIds(Iterable<String> groupIds)
Specifies the security group ids to be used for nodes with this template
|
AWSEC2TemplateOptions |
securityGroupIds(String... groupIds) |
AWSEC2TemplateOptions |
securityGroups(Iterable<String> groupIds)
Specifies the security groups to be used for nodes with this template
|
AWSEC2TemplateOptions |
securityGroups(String... groupIds) |
boolean |
shouldAutomaticallyCreatePlacementGroup() |
AWSEC2TemplateOptions |
spotOptions(RequestSpotInstancesOptions spotOptions)
Options for starting spot instances
|
AWSEC2TemplateOptions |
spotPrice(Float spotPrice)
Specifies the maximum spot price to use
|
com.google.common.base.Objects.ToStringHelper |
string() |
AWSEC2TemplateOptions |
subnetId(String subnetId)
Specifies the subnetId used to run instances in
|
AWSEC2TemplateOptions |
tenancy(Tenancy tenancy)
Specifies the tenancy used to run instances with
|
AWSEC2TemplateOptions |
unmapDeviceNamed(String deviceName) |
AWSEC2TemplateOptions |
userData(byte[] unencodedData)
Unencoded data
|
AWSEC2TemplateOptions |
userMetadata(Map<String,String> userMetadata) |
AWSEC2TemplateOptions |
userMetadata(String key,
String value) |