@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, setSdkResponseMetadata
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 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 setState(String state)
The current state of the entity.
state
- The current state of the entity.State
public String getState()
The current state of the entity.
State
public CreateEntityResult withState(String state)
The current state of the entity.
state
- The current state of the entity.State
public CreateEntityResult withState(State state)
The current state of the entity.
state
- The current state of the entity.State
public String toString()
toString
in class Object
Object.toString()
public CreateEntityResult clone()