Class ValidateConvertToManagedRequest

java.lang.Object
com.morpheusdata.request.ValidateConvertToManagedRequest

public class ValidateConvertToManagedRequest extends Object
  • Field Details

    • server

      public ComputeServer server
      The persisted server — use for read-only context (e.g. computeServerType).
    • instance

      public Instance instance
      The instance this server is being added to. Set only for the add-node (scale-instance) flow; null for the convert-to-managed flow. Plugins can use the presence of this field to distinguish between the two operations.
    • osTypeId

      public Long osTypeId
      The ID of the OsType explicitly selected by the user in the convert-to-managed request (not yet persisted at validation time). Only populated for the convert-to-managed flow; null for the add-node flow.
    • opts

      public Map<String,Object> opts
    • sshHost

      public String sshHost
    • sshUsername

      public String sshUsername
    • sshPassword

      public String sshPassword
  • Constructor Details

    • ValidateConvertToManagedRequest

      public ValidateConvertToManagedRequest()
  • Method Details

    • getServer

      public ComputeServer getServer()
    • setServer

      public void setServer(ComputeServer server)
    • getOsTypeId

      public Long getOsTypeId()
    • setOsTypeId

      public void setOsTypeId(Long osTypeId)
    • getInstance

      public Instance getInstance()
    • setInstance

      public void setInstance(Instance instance)
    • getOpts

      public Map<String,Object> getOpts()
    • setOpts

      public void setOpts(Map<String,Object> opts)
    • getSshHost

      public String getSshHost()
    • setSshHost

      public void setSshHost(String sshHost)
    • getSshUsername

      public String getSshUsername()
    • setSshUsername

      public void setSshUsername(String sshUsername)
    • getSshPassword

      public String getSshPassword()
    • setSshPassword

      public void setSshPassword(String sshPassword)