public static class EbsVolumeCustomizers.WithExistingSnapshot extends AbstractEbsVolumeCustomizer
BasicConfigurableObject.BasicConfigurationSupport
Configurable.ConfigurationSupport
Constructor and Description |
---|
WithExistingSnapshot() |
Modifier and Type | Method and Description |
---|---|
void |
customize(JcloudsLocation location,
org.jclouds.compute.ComputeService computeService,
JcloudsMachineLocation machine)
Override to configure the given machine once it has been created and started by Jclouds.
|
void |
customize(JcloudsLocation location,
org.jclouds.compute.ComputeService computeService,
org.jclouds.compute.options.TemplateOptions templateOptions)
Override to configure the
TemplateOptions that will
be used by JcloudsLocation to obtain machines. |
void |
setDeleteOnTermination(boolean deleteOnTermination) |
void |
setSizeInGib(int sizeInGib) |
void |
setSnapshotId(java.lang.String snapshotId) |
customize, setAvailabilityZone, setEc2DeviceName, setMountPoint, setOsDeviceName, setOwner, setPermissions
apply, customize, customize, postRelease, postReleaseOnObtainError, preRelease, preReleaseOnObtainError
config, getBrooklynManagementContext, getConfig, getId, setManagementContext
public void setSnapshotId(java.lang.String snapshotId)
public void setSizeInGib(int sizeInGib)
public void setDeleteOnTermination(boolean deleteOnTermination)
public void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, org.jclouds.compute.options.TemplateOptions templateOptions)
JcloudsLocationCustomizer
TemplateOptions
that will
be used by JcloudsLocation
to obtain machines.customize
in interface JcloudsLocationCustomizer
customize
in class BasicJcloudsLocationCustomizer
public void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, JcloudsMachineLocation machine)
JcloudsLocationCustomizer
If CloudLocationConfig.WAIT_FOR_SSHABLE
is true the machine is guaranteed to be
SSHable when this method is called.
customize
in interface JcloudsLocationCustomizer
customize
in class BasicJcloudsLocationCustomizer