public static class BootSource.Image extends BootSource
Modifier and Type | Class and Description |
---|---|
static class |
BootSource.Image.Desc |
BootSource.BootSourceDescriptor, BootSource.Image, BootSource.Unspecified, BootSource.VolumeFromImage, BootSource.VolumeSnapshot
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
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() |
afterProvisioning, getDescriptor, selectIdFromListAndLogProblems
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
builder
- The server specification that is under construction. This will
be amended.os
- Openstack.JCloudsCloud.ProvisioningFailedException
- Unable to configure the request. Do not provision.Copyright © 2016–2020. All rights reserved.