Class PlacementGroup

    • Constructor Detail

      • PlacementGroup

        public PlacementGroup()
        Default constructor for PlacementGroup object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • PlacementGroup

        public PlacementGroup​(String groupName)
        Constructs a new PlacementGroup object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        groupName - The name of the placement group.
    • Method Detail

      • setGroupName

        public void setGroupName​(String groupName)

        The name of the placement group.

        Parameters:
        groupName - The name of the placement group.
      • getGroupName

        public String getGroupName()

        The name of the placement group.

        Returns:
        The name of the placement group.
      • withGroupName

        public PlacementGroup withGroupName​(String groupName)

        The name of the placement group.

        Parameters:
        groupName - The name of the placement group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStrategy

        public void setStrategy​(String strategy)

        The placement strategy.

        Parameters:
        strategy - The placement strategy.
        See Also:
        PlacementStrategy
      • getStrategy

        public String getStrategy()

        The placement strategy.

        Returns:
        The placement strategy.
        See Also:
        PlacementStrategy
      • withStrategy

        public PlacementGroup withStrategy​(String strategy)

        The placement strategy.

        Parameters:
        strategy - The placement strategy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlacementStrategy
      • setStrategy

        public void setStrategy​(PlacementStrategy strategy)

        The placement strategy.

        Parameters:
        strategy - The placement strategy.
        See Also:
        PlacementStrategy
      • withStrategy

        public PlacementGroup withStrategy​(PlacementStrategy strategy)

        The placement strategy.

        Parameters:
        strategy - The placement strategy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlacementStrategy
      • setState

        public void setState​(String state)

        The state of the placement group.

        Parameters:
        state - The state of the placement group.
        See Also:
        PlacementGroupState
      • getState

        public String getState()

        The state of the placement group.

        Returns:
        The state of the placement group.
        See Also:
        PlacementGroupState
      • withState

        public PlacementGroup withState​(String state)

        The state of the placement group.

        Parameters:
        state - The state of the placement group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlacementGroupState
      • withState

        public PlacementGroup withState​(PlacementGroupState state)

        The state of the placement group.

        Parameters:
        state - The state of the placement group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlacementGroupState
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object