Class AgentAlreadyRunningAssessment
- All Implemented Interfaces:
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAgentId
(String agentId) ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.withAssessmentRunArn
(String assessmentRunArn) The ARN of the assessment run that has already been started.
-
Constructor Details
-
AgentAlreadyRunningAssessment
public AgentAlreadyRunningAssessment()
-
-
Method Details
-
setAgentId
ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
- Parameters:
agentId
- ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
-
getAgentId
ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
- Returns:
- ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
-
withAgentId
ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
- Parameters:
agentId
- ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAssessmentRunArn
The ARN of the assessment run that has already been started.
- Parameters:
assessmentRunArn
- The ARN of the assessment run that has already been started.
-
getAssessmentRunArn
The ARN of the assessment run that has already been started.
- Returns:
- The ARN of the assessment run that has already been started.
-
withAssessmentRunArn
The ARN of the assessment run that has already been started.
- Parameters:
assessmentRunArn
- The ARN of the assessment run that has already been started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-