Class OfferingStatus

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

public class OfferingStatus extends Object implements Serializable, Cloneable

The status of the offering.

See Also:
  • Constructor Details

    • OfferingStatus

      public OfferingStatus()
  • Method Details

    • setType

      public void setType(String type)

      The type specified for the offering status.

      Parameters:
      type - The type specified for the offering status.
      See Also:
    • getType

      public String getType()

      The type specified for the offering status.

      Returns:
      The type specified for the offering status.
      See Also:
    • withType

      public OfferingStatus withType(String type)

      The type specified for the offering status.

      Parameters:
      type - The type specified for the offering status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setType

      public void setType(OfferingTransactionType type)

      The type specified for the offering status.

      Parameters:
      type - The type specified for the offering status.
      See Also:
    • withType

      public OfferingStatus withType(OfferingTransactionType type)

      The type specified for the offering status.

      Parameters:
      type - The type specified for the offering status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setOffering

      public void setOffering(Offering offering)

      Represents the metadata of an offering status.

      Parameters:
      offering - Represents the metadata of an offering status.
    • getOffering

      public Offering getOffering()

      Represents the metadata of an offering status.

      Returns:
      Represents the metadata of an offering status.
    • withOffering

      public OfferingStatus withOffering(Offering offering)

      Represents the metadata of an offering status.

      Parameters:
      offering - Represents the metadata of an offering status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setQuantity

      public void setQuantity(Integer quantity)

      The number of available devices in the offering.

      Parameters:
      quantity - The number of available devices in the offering.
    • getQuantity

      public Integer getQuantity()

      The number of available devices in the offering.

      Returns:
      The number of available devices in the offering.
    • withQuantity

      public OfferingStatus withQuantity(Integer quantity)

      The number of available devices in the offering.

      Parameters:
      quantity - The number of available devices in the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEffectiveOn

      public void setEffectiveOn(Date effectiveOn)

      The date on which the offering is effective.

      Parameters:
      effectiveOn - The date on which the offering is effective.
    • getEffectiveOn

      public Date getEffectiveOn()

      The date on which the offering is effective.

      Returns:
      The date on which the offering is effective.
    • withEffectiveOn

      public OfferingStatus withEffectiveOn(Date effectiveOn)

      The date on which the offering is effective.

      Parameters:
      effectiveOn - The date on which the offering is effective.
      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 OfferingStatus clone()
      Overrides:
      clone in class Object