@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Entity extends Object implements Serializable, Cloneable, StructuredPojo
The entity details.
Constructor and Description |
---|
Entity() |
Modifier and Type | Method and Description |
---|---|
Entity |
clone() |
boolean |
equals(Object obj) |
String |
getEntityId()
The entity ID.
|
String |
getEntityType()
The entity type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntityId(String entityId)
The entity ID.
|
void |
setEntityType(String entityType)
The entity type.
|
String |
toString()
Returns a string representation of this object.
|
Entity |
withEntityId(String entityId)
The entity ID.
|
Entity |
withEntityType(String entityType)
The entity type.
|
public void setEntityType(String entityType)
The entity type.
entityType
- The entity type.public String getEntityType()
The entity type.
public Entity withEntityType(String entityType)
The entity type.
entityType
- The entity type.public void setEntityId(String entityId)
The entity ID. If you do not know the entityId
, you can pass unknown
, which is
areserved string literal.
entityId
- The entity ID. If you do not know the entityId
, you can pass unknown
, which is
areserved string literal.public String getEntityId()
The entity ID. If you do not know the entityId
, you can pass unknown
, which is
areserved string literal.
entityId
, you can pass unknown
, which is
areserved string literal.public Entity withEntityId(String entityId)
The entity ID. If you do not know the entityId
, you can pass unknown
, which is
areserved string literal.
entityId
- The entity ID. If you do not know the entityId
, you can pass unknown
, which is
areserved string literal.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.