Class GetOfferingStatusResult

java.lang.Object
com.amazonaws.services.devicefarm.model.GetOfferingStatusResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetOfferingStatusResult extends Object implements Serializable, Cloneable

Returns the status result for a device offering.

See Also:
  • Constructor Details

    • GetOfferingStatusResult

      public GetOfferingStatusResult()
  • Method Details

    • getCurrent

      public Map<String,OfferingStatus> getCurrent()

      When specified, gets the offering status for the current period.

      Returns:
      When specified, gets the offering status for the current period.
    • setCurrent

      public void setCurrent(Map<String,OfferingStatus> current)

      When specified, gets the offering status for the current period.

      Parameters:
      current - When specified, gets the offering status for the current period.
    • withCurrent

      public GetOfferingStatusResult withCurrent(Map<String,OfferingStatus> current)

      When specified, gets the offering status for the current period.

      Parameters:
      current - When specified, gets the offering status for the current period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addCurrentEntry

      public GetOfferingStatusResult addCurrentEntry(String key, OfferingStatus value)
    • clearCurrentEntries

      public GetOfferingStatusResult clearCurrentEntries()
      Removes all the entries added into Current. <p> Returns a reference to this object so that method calls can be chained together.
    • getNextPeriod

      public Map<String,OfferingStatus> getNextPeriod()

      When specified, gets the offering status for the next period.

      Returns:
      When specified, gets the offering status for the next period.
    • setNextPeriod

      public void setNextPeriod(Map<String,OfferingStatus> nextPeriod)

      When specified, gets the offering status for the next period.

      Parameters:
      nextPeriod - When specified, gets the offering status for the next period.
    • withNextPeriod

      public GetOfferingStatusResult withNextPeriod(Map<String,OfferingStatus> nextPeriod)

      When specified, gets the offering status for the next period.

      Parameters:
      nextPeriod - When specified, gets the offering status for the next period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addNextPeriodEntry

      public GetOfferingStatusResult addNextPeriodEntry(String key, OfferingStatus value)
    • clearNextPeriodEntries

      public GetOfferingStatusResult clearNextPeriodEntries()
      Removes all the entries added into NextPeriod. <p> Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Parameters:
      nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
    • getNextToken

      public String getNextToken()

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Returns:
      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
    • withNextToken

      public GetOfferingStatusResult withNextToken(String nextToken)

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Parameters:
      nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GetOfferingStatusResult clone()
      Overrides:
      clone in class Object