@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 that describes the offering promotion.
|
String |
getId()
The ID of the offering promotion.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDescription(String description)
A string that describes the offering promotion.
|
void |
setId(String id)
The ID of the offering promotion.
|
String |
toString()
Returns a string representation of this object.
|
OfferingPromotion |
withDescription(String description)
A string that describes 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 that describes the offering promotion.
description
- A string that describes the offering promotion.public String getDescription()
A string that describes the offering promotion.
public OfferingPromotion withDescription(String description)
A string that describes the offering promotion.
description
- A string that describes the offering promotion.public String toString()
toString
in class Object
Object.toString()
public OfferingPromotion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.