@Generated(value="software.amazon.awssdk:codegen") public final class AgentsAlreadyRunningAssessmentException extends InspectorException implements ToCopyableBuilder<AgentsAlreadyRunningAssessmentException.Builder,AgentsAlreadyRunningAssessmentException>
You started an assessment run, but one of the instances is already participating in another assessment run.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AgentsAlreadyRunningAssessmentException.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AgentAlreadyRunningAssessment> |
agents()
|
Boolean |
agentsTruncated()
|
static AgentsAlreadyRunningAssessmentException.Builder |
builder() |
Boolean |
canRetry()
You can immediately retry your request.
|
boolean |
hasAgents()
For responses, this returns true if the service returned a value for the Agents property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AgentsAlreadyRunningAssessmentException.Builder> |
serializableBuilderClass() |
AgentsAlreadyRunningAssessmentException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic AgentsAlreadyRunningAssessmentException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AgentsAlreadyRunningAssessmentException.Builder,AgentsAlreadyRunningAssessmentException>toBuilder in class InspectorExceptionpublic static AgentsAlreadyRunningAssessmentException.Builder builder()
public static Class<? extends AgentsAlreadyRunningAssessmentException.Builder> serializableBuilderClass()
public boolean hasAgents()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public List<AgentAlreadyRunningAssessment> agents()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAgents() method.
public Boolean agentsTruncated()
public Boolean canRetry()
You can immediately retry your request.
Copyright © 2023. All rights reserved.