Class BootSource.VolumeSnapshot

All Implemented Interfaces:
Describable<BootSource>, Serializable
Enclosing class:
BootSource

public static final class BootSource.VolumeSnapshot extends BootSource
See Also:
  • Constructor Details

    • VolumeSnapshot

      @DataBoundConstructor public VolumeSnapshot(@Nonnull String name)
  • Method Details

    • getName

      @Nonnull public String getName()
    • setServerBootSource

      public void setServerBootSource(@Nonnull org.openstack4j.model.compute.builder.ServerCreateBuilder builder, @Nonnull Openstack os)
      Description copied from class: BootSource
      Configures the given ServerCreateBuilder to specify that the newly provisioned server should boot from the specified ID.
      Overrides:
      setServerBootSource in class BootSource
      Parameters:
      builder - The server specification that is under construction. This will be amended.
      os - Openstack.
    • afterProvisioning

      public void afterProvisioning(@Nonnull org.openstack4j.model.compute.Server server, @Nonnull Openstack openstack)
      Description copied from class: BootSource
      Called after a server has been provisioned.
      Overrides:
      afterProvisioning in class BootSource
      Parameters:
      server - The newly-provisioned server.
      openstack - Means of communicating with the OpenStack service.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object