public static final class BootSource.VolumeFromImage extends BootSource.Image
Modifier and Type | Class and Description |
---|---|
static class |
BootSource.VolumeFromImage.VFIDesc |
BootSource.Image.Desc
BootSource.BootSourceDescriptor, BootSource.Image, BootSource.Unspecified, BootSource.VolumeFromImage, BootSource.VolumeSnapshot
name
Constructor and Description |
---|
VolumeFromImage(String name,
int volumeSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getVolumeSize() |
int |
hashCode() |
void |
setServerBootSource(org.openstack4j.model.compute.builder.ServerCreateBuilder builder,
Openstack os)
Configures the given
ServerCreateBuilder to specify that the
newly provisioned server should boot from the specified ID. |
String |
toString() |
getName
afterProvisioning, getDescriptor, selectIdFromListAndLogProblems
public int getVolumeSize()
public void setServerBootSource(@Nonnull org.openstack4j.model.compute.builder.ServerCreateBuilder builder, @Nonnull Openstack os) throws JCloudsCloud.ProvisioningFailedException
BootSource
ServerCreateBuilder
to specify that the
newly provisioned server should boot from the specified ID.setServerBootSource
in class BootSource.Image
builder
- The server specification that is under construction. This will
be amended.os
- Openstack.JCloudsCloud.ProvisioningFailedException
- Unable to configure the request. Do not provision.public String toString()
toString
in class BootSource.Image
public boolean equals(Object o)
equals
in class BootSource.Image
public int hashCode()
hashCode
in class BootSource.Image
Copyright © 2016–2020. All rights reserved.