public class PacketTemplateOptions extends TemplateOptions implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
PacketTemplateOptions.Builder |
TemplateOptions.ImmutableTemplateOptions
RunScriptOptions.ImmutableRunScriptOptions
blockUntilRunning, inboundPorts, networks, nodeNames, NONE, privateKey, publicKey, script, securityGroups, tags, userMetadata
authenticateSudo, blockOnComplete, loginPassword, loginPrivateKey, loginUser, port, runAsRoot, seconds, taskName, wrapInInitScript
Constructor and Description |
---|
PacketTemplateOptions() |
Modifier and Type | Method and Description |
---|---|
PacketTemplateOptions |
billingCycle(String billingCycle) |
PacketTemplateOptions |
clone() |
void |
copyTo(TemplateOptions to) |
boolean |
equals(Object obj) |
PacketTemplateOptions |
features(Map<String,String> features) |
String |
getBillingCycle() |
Map<String,String> |
getFeatures() |
String |
getUserData() |
int |
hashCode() |
boolean |
isLocked() |
PacketTemplateOptions |
locked(boolean locked) |
com.google.common.base.MoreObjects.ToStringHelper |
string() |
PacketTemplateOptions |
userData(String userData) |
as, authorizePublicKey, blockOnComplete, blockOnPort, blockUntilRunning, dontAuthorizePublicKey, getGroups, getInboundPorts, getNetworks, getNodeNames, getPrivateKey, getPublicKey, getRunScript, getTags, getUserMetadata, inboundPorts, installPrivateKey, nameTask, networks, networks, nodeNames, overrideAuthenticateSudo, overrideLoginCredentials, overrideLoginPassword, overrideLoginPrivateKey, overrideLoginUser, runAsRoot, runScript, runScript, securityGroups, securityGroups, shouldBlockUntilRunning, tags, userMetadata, userMetadata, wrapInInitScript
copyTo, getLoginPassword, getLoginPrivateKey, getLoginUser, getPort, getSeconds, getTaskName, hasLoginPassword, hasLoginPasswordOption, hasLoginPrivateKey, hasLoginPrivateKeyOption, overrideLoginPassword, overrideLoginPrivateKey, shouldAuthenticateSudo, shouldBlockOnComplete, shouldRunAsRoot, shouldWrapInInitScript, toString
public PacketTemplateOptions features(Map<String,String> features)
public PacketTemplateOptions locked(boolean locked)
public PacketTemplateOptions billingCycle(String billingCycle)
public PacketTemplateOptions userData(String userData)
public boolean isLocked()
public String getBillingCycle()
public String getUserData()
public PacketTemplateOptions clone()
clone
in class TemplateOptions
public void copyTo(TemplateOptions to)
copyTo
in class TemplateOptions
public int hashCode()
hashCode
in class TemplateOptions
public boolean equals(Object obj)
equals
in class TemplateOptions
public com.google.common.base.MoreObjects.ToStringHelper string()
string
in class TemplateOptions
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.