@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityRequest extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains entity ID and the catalog in which the entity is present.
Constructor and Description |
---|
EntityRequest() |
Modifier and Type | Method and Description |
---|---|
EntityRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCatalog()
The name of the catalog the entity is present in.
|
String |
getEntityId()
The ID of the entity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalog(String catalog)
The name of the catalog the entity is present in.
|
void |
setEntityId(String entityId)
The ID of the entity.
|
String |
toString()
Returns a string representation of this object.
|
EntityRequest |
withCatalog(String catalog)
The name of the catalog the entity is present in.
|
EntityRequest |
withEntityId(String entityId)
The ID of the entity.
|
public void setCatalog(String catalog)
The name of the catalog the entity is present in. The only value at this time is AWSMarketplace
.
catalog
- The name of the catalog the entity is present in. The only value at this time is
AWSMarketplace
.public String getCatalog()
The name of the catalog the entity is present in. The only value at this time is AWSMarketplace
.
AWSMarketplace
.public EntityRequest withCatalog(String catalog)
The name of the catalog the entity is present in. The only value at this time is AWSMarketplace
.
catalog
- The name of the catalog the entity is present in. The only value at this time is
AWSMarketplace
.public void setEntityId(String entityId)
The ID of the entity.
entityId
- The ID of the entity.public String getEntityId()
The ID of the entity.
public EntityRequest withEntityId(String entityId)
The ID of the entity.
entityId
- The ID of the entity.public String toString()
toString
in class Object
Object.toString()
public EntityRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.