@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrepareAgentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PrepareAgentResult() |
Modifier and Type | Method and Description |
---|---|
PrepareAgentResult |
clone() |
boolean |
equals(Object obj) |
String |
getAgentId()
The unique identifier of the agent for which the
DRAFT version was created. |
String |
getAgentStatus()
The status of the
DRAFT version and whether it is ready for use. |
String |
getAgentVersion()
The version of the agent.
|
Date |
getPreparedAt()
The time at which the
DRAFT version of the agent was last prepared. |
int |
hashCode() |
void |
setAgentId(String agentId)
The unique identifier of the agent for which the
DRAFT version was created. |
void |
setAgentStatus(String agentStatus)
The status of the
DRAFT version and whether it is ready for use. |
void |
setAgentVersion(String agentVersion)
The version of the agent.
|
void |
setPreparedAt(Date preparedAt)
The time at which the
DRAFT version of the agent was last prepared. |
String |
toString()
Returns a string representation of this object.
|
PrepareAgentResult |
withAgentId(String agentId)
The unique identifier of the agent for which the
DRAFT version was created. |
PrepareAgentResult |
withAgentStatus(AgentStatus agentStatus)
The status of the
DRAFT version and whether it is ready for use. |
PrepareAgentResult |
withAgentStatus(String agentStatus)
The status of the
DRAFT version and whether it is ready for use. |
PrepareAgentResult |
withAgentVersion(String agentVersion)
The version of the agent.
|
PrepareAgentResult |
withPreparedAt(Date preparedAt)
The time at which the
DRAFT version of the agent was last prepared. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAgentId(String agentId)
The unique identifier of the agent for which the DRAFT
version was created.
agentId
- The unique identifier of the agent for which the DRAFT
version was created.public String getAgentId()
The unique identifier of the agent for which the DRAFT
version was created.
DRAFT
version was created.public PrepareAgentResult withAgentId(String agentId)
The unique identifier of the agent for which the DRAFT
version was created.
agentId
- The unique identifier of the agent for which the DRAFT
version was created.public void setAgentStatus(String agentStatus)
The status of the DRAFT
version and whether it is ready for use.
agentStatus
- The status of the DRAFT
version and whether it is ready for use.AgentStatus
public String getAgentStatus()
The status of the DRAFT
version and whether it is ready for use.
DRAFT
version and whether it is ready for use.AgentStatus
public PrepareAgentResult withAgentStatus(String agentStatus)
The status of the DRAFT
version and whether it is ready for use.
agentStatus
- The status of the DRAFT
version and whether it is ready for use.AgentStatus
public PrepareAgentResult withAgentStatus(AgentStatus agentStatus)
The status of the DRAFT
version and whether it is ready for use.
agentStatus
- The status of the DRAFT
version and whether it is ready for use.AgentStatus
public void setAgentVersion(String agentVersion)
The version of the agent.
agentVersion
- The version of the agent.public String getAgentVersion()
The version of the agent.
public PrepareAgentResult withAgentVersion(String agentVersion)
The version of the agent.
agentVersion
- The version of the agent.public void setPreparedAt(Date preparedAt)
The time at which the DRAFT
version of the agent was last prepared.
preparedAt
- The time at which the DRAFT
version of the agent was last prepared.public Date getPreparedAt()
The time at which the DRAFT
version of the agent was last prepared.
DRAFT
version of the agent was last prepared.public PrepareAgentResult withPreparedAt(Date preparedAt)
The time at which the DRAFT
version of the agent was last prepared.
preparedAt
- The time at which the DRAFT
version of the agent was last prepared.public String toString()
toString
in class Object
Object.toString()
public PrepareAgentResult clone()