Class PacketTemplateOptions
- java.lang.Object
-
- org.jclouds.compute.options.RunScriptOptions
-
- org.jclouds.compute.options.TemplateOptions
-
- org.jclouds.packet.compute.options.PacketTemplateOptions
-
- All Implemented Interfaces:
Cloneable
public class PacketTemplateOptions extends TemplateOptions implements Cloneable
Custom options for the Packet API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PacketTemplateOptions.Builder
-
Nested classes/interfaces inherited from class org.jclouds.compute.options.TemplateOptions
TemplateOptions.ImmutableTemplateOptions
-
Nested classes/interfaces inherited from class org.jclouds.compute.options.RunScriptOptions
RunScriptOptions.ImmutableRunScriptOptions
-
-
Field Summary
-
Fields inherited from class org.jclouds.compute.options.TemplateOptions
blockUntilRunning, inboundPorts, networks, nodeNames, NONE, privateKey, publicKey, script, securityGroups, tags, userMetadata
-
Fields inherited from class org.jclouds.compute.options.RunScriptOptions
authenticateSudo, blockOnComplete, loginPassword, loginPrivateKey, loginUser, port, runAsRoot, seconds, taskName, wrapInInitScript
-
-
Constructor Summary
Constructors Constructor Description PacketTemplateOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.jclouds.compute.options.TemplateOptions
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
-
Methods inherited from class org.jclouds.compute.options.RunScriptOptions
copyTo, getLoginPassword, getLoginPrivateKey, getLoginUser, getPort, getSeconds, getTaskName, hasLoginPassword, hasLoginPasswordOption, hasLoginPrivateKey, hasLoginPrivateKeyOption, overrideLoginPassword, overrideLoginPrivateKey, shouldAuthenticateSudo, shouldBlockOnComplete, shouldRunAsRoot, shouldWrapInInitScript, toString
-
-
-
-
Method Detail
-
features
public PacketTemplateOptions features(Map<String,String> features)
-
locked
public PacketTemplateOptions locked(boolean locked)
-
billingCycle
public PacketTemplateOptions billingCycle(String billingCycle)
-
userData
public PacketTemplateOptions userData(String userData)
-
isLocked
public boolean isLocked()
-
getBillingCycle
public String getBillingCycle()
-
getUserData
public String getUserData()
-
clone
public PacketTemplateOptions clone()
- Overrides:
clone
in classTemplateOptions
-
copyTo
public void copyTo(TemplateOptions to)
- Overrides:
copyTo
in classTemplateOptions
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTemplateOptions
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classTemplateOptions
-
string
public com.google.common.base.MoreObjects.ToStringHelper string()
- Overrides:
string
in classTemplateOptions
-
-