@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrantedEntity extends Object implements Serializable, Cloneable, StructuredPojo
The details of a listing for which a subscription is granted.
| Constructor and Description |
|---|
GrantedEntity() |
| Modifier and Type | Method and Description |
|---|---|
GrantedEntity |
clone() |
boolean |
equals(Object obj) |
ListingRevision |
getListing()
The listing for which a subscription is granted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setListing(ListingRevision listing)
The listing for which a subscription is granted.
|
String |
toString()
Returns a string representation of this object.
|
GrantedEntity |
withListing(ListingRevision listing)
The listing for which a subscription is granted.
|
public void setListing(ListingRevision listing)
The listing for which a subscription is granted.
listing - The listing for which a subscription is granted.public ListingRevision getListing()
The listing for which a subscription is granted.
public GrantedEntity withListing(ListingRevision listing)
The listing for which a subscription is granted.
listing - The listing for which a subscription is granted.public String toString()
toString in class ObjectObject.toString()public GrantedEntity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.