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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OfferingStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OfferingStatusclone()booleanequals(Object obj)DategetEffectiveOn()The date on which the offering is effective.OfferinggetOffering()Represents the metadata of an offering status.IntegergetQuantity()The number of available devices in the offering.StringgetType()The type specified for the offering status.inthashCode()voidsetEffectiveOn(Date effectiveOn)The date on which the offering is effective.voidsetOffering(Offering offering)Represents the metadata of an offering status.voidsetQuantity(Integer quantity)The number of available devices in the offering.voidsetType(OfferingTransactionType type)The type specified for the offering status.voidsetType(String type)The type specified for the offering status.StringtoString()Returns a string representation of this object; useful for testing and debugging.OfferingStatuswithEffectiveOn(Date effectiveOn)The date on which the offering is effective.OfferingStatuswithOffering(Offering offering)Represents the metadata of an offering status.OfferingStatuswithQuantity(Integer quantity)The number of available devices in the offering.OfferingStatuswithType(OfferingTransactionType type)The type specified for the offering status.OfferingStatuswithType(String type)The type specified for the offering status.
-
-
-
Method Detail
-
setType
public void setType(String type)
The type specified for the offering status.
- Parameters:
type- The type specified for the offering status.- See Also:
OfferingTransactionType
-
getType
public String getType()
The type specified for the offering status.
- Returns:
- The type specified for the offering status.
- See Also:
OfferingTransactionType
-
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:
OfferingTransactionType
-
setType
public void setType(OfferingTransactionType type)
The type specified for the offering status.
- Parameters:
type- The type specified for the offering status.- See Also:
OfferingTransactionType
-
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:
OfferingTransactionType
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OfferingStatus clone()
-
-