@Generated(value="software.amazon.awssdk:codegen") public final class AgentAlreadyRunningAssessment extends Object implements StructuredPojo, ToCopyableBuilder<AgentAlreadyRunningAssessment.Builder,AgentAlreadyRunningAssessment>
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 | Class and Description |
---|---|
static interface |
AgentAlreadyRunningAssessment.Builder |
Modifier and Type | Method and Description |
---|---|
String |
agentId()
ID of the agent that is running on an EC2 instance that is already participating in another started assessment
run.
|
String |
assessmentRunArn()
The ARN of the assessment run that has already been started.
|
static AgentAlreadyRunningAssessment.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends AgentAlreadyRunningAssessment.Builder> |
serializableBuilderClass() |
AgentAlreadyRunningAssessment.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String agentId()
ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.
public String assessmentRunArn()
The ARN of the assessment run that has already been started.
public AgentAlreadyRunningAssessment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AgentAlreadyRunningAssessment.Builder,AgentAlreadyRunningAssessment>
public static AgentAlreadyRunningAssessment.Builder builder()
public static Class<? extends AgentAlreadyRunningAssessment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.