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 OfferingStatus
clone()
boolean
equals(Object obj)
Date
getEffectiveOn()
The date on which the offering is effective.Offering
getOffering()
Represents the metadata of an offering status.Integer
getQuantity()
The number of available devices in the offering.String
getType()
The type specified for the offering status.int
hashCode()
void
setEffectiveOn(Date effectiveOn)
The date on which the offering is effective.void
setOffering(Offering offering)
Represents the metadata of an offering status.void
setQuantity(Integer quantity)
The number of available devices in the offering.void
setType(OfferingTransactionType type)
The type specified for the offering status.void
setType(String type)
The type specified for the offering status.String
toString()
Returns a string representation of this object; useful for testing and debugging.OfferingStatus
withEffectiveOn(Date effectiveOn)
The date on which the offering is effective.OfferingStatus
withOffering(Offering offering)
Represents the metadata of an offering status.OfferingStatus
withQuantity(Integer quantity)
The number of available devices in the offering.OfferingStatus
withType(OfferingTransactionType type)
The type specified for the offering status.OfferingStatus
withType(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OfferingStatus clone()
-
-