@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OfferingPromotion extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about an offering promotion.
Constructor and Description |
---|
OfferingPromotion() |
Modifier and Type | Method and Description |
---|---|
OfferingPromotion |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A string describing the offering promotion.
|
String |
getId()
The ID of the offering promotion.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A string describing the offering promotion.
|
void |
setId(String id)
The ID of the offering promotion.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
OfferingPromotion |
withDescription(String description)
A string describing the offering promotion.
|
OfferingPromotion |
withId(String id)
The ID of the offering promotion.
|
public void setId(String id)
The ID of the offering promotion.
id
- The ID of the offering promotion.public String getId()
The ID of the offering promotion.
public OfferingPromotion withId(String id)
The ID of the offering promotion.
id
- The ID of the offering promotion.public void setDescription(String description)
A string describing the offering promotion.
description
- A string describing the offering promotion.public String getDescription()
A string describing the offering promotion.
public OfferingPromotion withDescription(String description)
A string describing the offering promotion.
description
- A string describing the offering promotion.public String toString()
toString
in class Object
Object.toString()
public OfferingPromotion 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.