Class BuildResizeChangelistRequest<T>

java.lang.Object
com.morpheusdata.request.BuildResizeChangelistRequest<T>
Type Parameters:
T - the type of existing items being compared

public class BuildResizeChangelistRequest<T> extends Object
Request object for building a resize changelist.
Since:
1.3.0
  • Field Details

    • server

      protected ComputeServer server
      The compute server being resized.
    • desired

      protected List<Map<String,Object>> desired
      The desired configuration as a list of maps.
    • existing

      protected List<T> existing
      The existing items of type T.
    • softMatch

      protected boolean softMatch
      Whether to use soft matching for comparison.

      A match is considered soft when we can't rely on database IDs to make a comparison. In that case, it's necessary to use other attributes to determine whether the two items are the "same". This comes into effect when applying a desired configuration across multiple containers in an instance.

  • Constructor Details

    • BuildResizeChangelistRequest

      public BuildResizeChangelistRequest()
  • Method Details

    • getServer

      public ComputeServer getServer()
    • setServer

      public void setServer(ComputeServer server)
    • getExisting

      public List<T> getExisting()
    • setExisting

      public void setExisting(List<T> existing)
    • getDesired

      public List<Map<String,Object>> getDesired()
    • setDesired

      public void setDesired(List<Map<String,Object>> desired)
    • isSoftMatch

      public boolean isSoftMatch()
    • setSoftMatch

      public void setSoftMatch(boolean softMatch)