public static class EbsVolumeCustomizers.WithNewVolume extends AbstractEbsVolumeCustomizer
BasicConfigurableObject.BasicConfigurationSupport
Configurable.ConfigurationSupport
Constructor and Description |
---|
WithNewVolume() |
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 |
setFilesystemType(java.lang.String filesystemType) |
void |
setSizeInGib(int sizeInGib) |
customize, setAvailabilityZone, setEc2DeviceName, setMountPoint, setOsDeviceName, setOwner, setPermissions
apply, customize, customize, postRelease, postReleaseOnObtainError, preRelease, preReleaseOnObtainError
config, getBrooklynManagementContext, getConfig, getId, setManagementContext
public void setFilesystemType(java.lang.String filesystemType)
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