@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OfferingStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status of the offering.
Constructor and Description |
---|
OfferingStatus() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
public void setType(String type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
public String getType()
The type specified for the offering status.
OfferingTransactionType
public OfferingStatus withType(String type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
public void setType(OfferingTransactionType type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
public OfferingStatus withType(OfferingTransactionType type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
public void setOffering(Offering offering)
Represents the metadata of an offering status.
offering
- Represents the metadata of an offering status.public Offering getOffering()
Represents the metadata of an offering status.
public OfferingStatus withOffering(Offering offering)
Represents the metadata of an offering status.
offering
- Represents the metadata of an offering status.public void setQuantity(Integer quantity)
The number of available devices in the offering.
quantity
- The number of available devices in the offering.public Integer getQuantity()
The number of available devices in the offering.
public OfferingStatus withQuantity(Integer quantity)
The number of available devices in the offering.
quantity
- The number of available devices in the offering.public void setEffectiveOn(Date effectiveOn)
The date on which the offering is effective.
effectiveOn
- The date on which the offering is effective.public Date getEffectiveOn()
The date on which the offering is effective.
public OfferingStatus withEffectiveOn(Date effectiveOn)
The date on which the offering is effective.
effectiveOn
- The date on which the offering is effective.public String toString()
toString
in class Object
Object.toString()
public OfferingStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.