Class InstanceCount

    • Constructor Detail

      • InstanceCount

        public InstanceCount()
    • Method Detail

      • setState

        public void setState​(String state)

        The states of the listed Reserved Instances.

        Parameters:
        state - The states of the listed Reserved Instances.
        See Also:
        ListingState
      • getState

        public String getState()

        The states of the listed Reserved Instances.

        Returns:
        The states of the listed Reserved Instances.
        See Also:
        ListingState
      • withState

        public InstanceCount withState​(String state)

        The states of the listed Reserved Instances.

        Parameters:
        state - The states of the listed Reserved Instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ListingState
      • setState

        public void setState​(ListingState state)

        The states of the listed Reserved Instances.

        Parameters:
        state - The states of the listed Reserved Instances.
        See Also:
        ListingState
      • withState

        public InstanceCount withState​(ListingState state)

        The states of the listed Reserved Instances.

        Parameters:
        state - The states of the listed Reserved Instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ListingState
      • setInstanceCount

        public void setInstanceCount​(Integer instanceCount)

        The number of listed Reserved Instances in the state specified by the state.

        Parameters:
        instanceCount - The number of listed Reserved Instances in the state specified by the state.
      • getInstanceCount

        public Integer getInstanceCount()

        The number of listed Reserved Instances in the state specified by the state.

        Returns:
        The number of listed Reserved Instances in the state specified by the state.
      • withInstanceCount

        public InstanceCount withInstanceCount​(Integer instanceCount)

        The number of listed Reserved Instances in the state specified by the state.

        Parameters:
        instanceCount - The number of listed Reserved Instances in the state specified by the state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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