Class RebuildOptions


  • public final class RebuildOptions
    extends BaseActionOptions
    Options used to invoke the Rebuild Action on a Server
    Author:
    Jeremy Unruh
    • Method Detail

      • create

        public static RebuildOptions create()
        Returns:
        a new RebuildOptions object
      • image

        public RebuildOptions image​(String imageId)
        Can optionally set a new image to rebuild the server against. This is the image identifier
        Parameters:
        imageId - the image id to rebuild the server against
        Returns:
        RebuildOptions
      • name

        public RebuildOptions name​(String name)
        Can optionally change the name of the instance to a new name
        Parameters:
        name - the new name of the server instance
        Returns:
        RebuildOptions
      • adminPass

        public RebuildOptions adminPass​(String adminPass)
        Can optionally specify a new admin password to be used during the rebuild
        Parameters:
        adminPass - the new admin password
        Returns:
        RebuildOptions
      • getName

        public String getName()
      • getAdminPass

        public String getAdminPass()
      • getImageRef

        public String getImageRef()
      • getUserData

        public String getUserData()