@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentsAlreadyRunningAssessmentException extends AmazonInspectorException
You started an assessment run, but one of the instances is already participating in another assessment run.
AmazonServiceException.ErrorType
Constructor and Description |
---|
AgentsAlreadyRunningAssessmentException(String message)
Constructs a new AgentsAlreadyRunningAssessmentException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
List<AgentAlreadyRunningAssessment> |
getAgents()
|
Boolean |
getAgentsTruncated()
|
Boolean |
getCanRetry()
You can immediately retry your request.
|
Boolean |
isAgentsTruncated()
|
Boolean |
isCanRetry()
You can immediately retry your request.
|
void |
setAgents(Collection<AgentAlreadyRunningAssessment> agents)
|
void |
setAgentsTruncated(Boolean agentsTruncated)
|
void |
setCanRetry(Boolean canRetry)
You can immediately retry your request.
|
AgentsAlreadyRunningAssessmentException |
withAgents(AgentAlreadyRunningAssessment... agents)
|
AgentsAlreadyRunningAssessmentException |
withAgents(Collection<AgentAlreadyRunningAssessment> agents)
|
AgentsAlreadyRunningAssessmentException |
withAgentsTruncated(Boolean agentsTruncated)
|
AgentsAlreadyRunningAssessmentException |
withCanRetry(Boolean canRetry)
You can immediately retry your request.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AgentsAlreadyRunningAssessmentException(String message)
message
- Describes the error encountered.public List<AgentAlreadyRunningAssessment> getAgents()
public void setAgents(Collection<AgentAlreadyRunningAssessment> agents)
agents
- public AgentsAlreadyRunningAssessmentException withAgents(AgentAlreadyRunningAssessment... agents)
NOTE: This method appends the values to the existing list (if any). Use
setAgents(java.util.Collection)
or withAgents(java.util.Collection)
if you want to override the
existing values.
agents
- public AgentsAlreadyRunningAssessmentException withAgents(Collection<AgentAlreadyRunningAssessment> agents)
agents
- public void setAgentsTruncated(Boolean agentsTruncated)
agentsTruncated
- public Boolean getAgentsTruncated()
public AgentsAlreadyRunningAssessmentException withAgentsTruncated(Boolean agentsTruncated)
agentsTruncated
- public Boolean isAgentsTruncated()
public void setCanRetry(Boolean canRetry)
You can immediately retry your request.
canRetry
- You can immediately retry your request.public Boolean getCanRetry()
You can immediately retry your request.
public AgentsAlreadyRunningAssessmentException withCanRetry(Boolean canRetry)
You can immediately retry your request.
canRetry
- You can immediately retry your request.public Boolean isCanRetry()
You can immediately retry your request.
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.