@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEntityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateEntityResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateEntityResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the entity.
|
Date |
getCreationDateTime()
The date and time when the entity was created.
|
String |
getEntityId()
The ID of the entity.
|
String |
getState()
The current state of the entity.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the entity.
|
void |
setCreationDateTime(Date creationDateTime)
The date and time when the entity was created.
|
void |
setEntityId(String entityId)
The ID of the entity.
|
void |
setState(String state)
The current state of the entity.
|
String |
toString()
Returns a string representation of this object.
|
CreateEntityResult |
withArn(String arn)
The ARN of the entity.
|
CreateEntityResult |
withCreationDateTime(Date creationDateTime)
The date and time when the entity was created.
|
CreateEntityResult |
withEntityId(String entityId)
The ID of the entity.
|
CreateEntityResult |
withState(State state)
The current state of the entity.
|
CreateEntityResult |
withState(String state)
The current state of the entity.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setEntityId(String entityId)
The ID of the entity.
entityId - The ID of the entity.public String getEntityId()
The ID of the entity.
public CreateEntityResult withEntityId(String entityId)
The ID of the entity.
entityId - The ID of the entity.public void setArn(String arn)
The ARN of the entity.
arn - The ARN of the entity.public String getArn()
The ARN of the entity.
public CreateEntityResult withArn(String arn)
The ARN of the entity.
arn - The ARN of the entity.public void setCreationDateTime(Date creationDateTime)
The date and time when the entity was created.
creationDateTime - The date and time when the entity was created.public Date getCreationDateTime()
The date and time when the entity was created.
public CreateEntityResult withCreationDateTime(Date creationDateTime)
The date and time when the entity was created.
creationDateTime - The date and time when the entity was created.public void setState(String state)
The current state of the entity.
state - The current state of the entity.Statepublic String getState()
The current state of the entity.
Statepublic CreateEntityResult withState(String state)
The current state of the entity.
state - The current state of the entity.Statepublic CreateEntityResult withState(State state)
The current state of the entity.
state - The current state of the entity.Statepublic String toString()
toString in class ObjectObject.toString()public CreateEntityResult clone()