public class AgentAlreadyRunningAssessment extends Object implements Serializable, 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.
Constructor and Description |
---|
AgentAlreadyRunningAssessment() |
Modifier and Type | Method and Description |
---|---|
AgentAlreadyRunningAssessment |
clone() |
boolean |
equals(Object obj) |
String |
getAgentId()
ID of the agent that is running on an EC2 instance that is already
participating in another started assessment run.
|
String |
getAssessmentRunArn()
The ARN of the assessment run that has already been started.
|
int |
hashCode() |
void |
setAgentId(String agentId)
ID of the agent that is running on an EC2 instance that is already
participating in another started assessment run.
|
void |
setAssessmentRunArn(String assessmentRunArn)
The ARN of the assessment run that has already been started.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentAlreadyRunningAssessment |
withAgentId(String agentId)
ID of the agent that is running on an EC2 instance that is already
participating in another started assessment run.
|
AgentAlreadyRunningAssessment |
withAssessmentRunArn(String assessmentRunArn)
The ARN of the assessment run that has already been started.
|
public void setAgentId(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 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(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(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 String getAssessmentRunArn()
The ARN of the assessment run that has already been started.
public AgentAlreadyRunningAssessment withAssessmentRunArn(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 String toString()
toString
in class Object
Object.toString()
public AgentAlreadyRunningAssessment clone()
Copyright © 2018. All rights reserved.