public class AgentAlreadyRunningAssessment
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Used in the exception error that is thrown if you start an assessment run for an assessment target that includes an EC2 instance that is already participating in another started assessment run.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
agentId
ID of the agent that is running on an EC2 instance that is already
participating in another started assessment run.
|
private java.lang.String |
assessmentRunArn
The ARN of the assessment run that has already been started.
|
Constructor and Description |
---|
AgentAlreadyRunningAssessment() |
Modifier and Type | Method and Description |
---|---|
AgentAlreadyRunningAssessment |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgentId()
ID of the agent that is running on an EC2 instance that is already
participating in another started assessment run.
|
java.lang.String |
getAssessmentRunArn()
The ARN of the assessment run that has already been started.
|
int |
hashCode() |
void |
setAgentId(java.lang.String agentId)
ID of the agent that is running on an EC2 instance that is already
participating in another started assessment run.
|
void |
setAssessmentRunArn(java.lang.String assessmentRunArn)
The ARN of the assessment run that has already been started.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentAlreadyRunningAssessment |
withAgentId(java.lang.String agentId)
ID of the agent that is running on an EC2 instance that is already
participating in another started assessment run.
|
AgentAlreadyRunningAssessment |
withAssessmentRunArn(java.lang.String assessmentRunArn)
The ARN of the assessment run that has already been started.
|
private java.lang.String agentId
ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
private java.lang.String assessmentRunArn
The ARN of the assessment run that has already been started.
public void setAgentId(java.lang.String agentId)
ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
agentId
- ID of the agent that is running on an EC2 instance that is already
participating in another started assessment run.public java.lang.String getAgentId()
ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
public AgentAlreadyRunningAssessment withAgentId(java.lang.String agentId)
ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
agentId
- ID of the agent that is running on an EC2 instance that is already
participating in another started assessment run.public void setAssessmentRunArn(java.lang.String assessmentRunArn)
The ARN of the assessment run that has already been started.
assessmentRunArn
- The ARN of the assessment run that has already been started.public java.lang.String getAssessmentRunArn()
The ARN of the assessment run that has already been started.
public AgentAlreadyRunningAssessment withAssessmentRunArn(java.lang.String assessmentRunArn)
The ARN of the assessment run that has already been started.
assessmentRunArn
- The ARN of the assessment run that has already been started.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AgentAlreadyRunningAssessment clone()
clone
in class java.lang.Object