@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentAlreadyRunningAssessment extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.