@Generated(value="software.amazon.awssdk:codegen") public final class StopAssessmentRunRequest extends InspectorRequest implements ToCopyableBuilder<StopAssessmentRunRequest.Builder,StopAssessmentRunRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StopAssessmentRunRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assessmentRunArn()
The ARN of the assessment run that you want to stop.
|
static StopAssessmentRunRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends StopAssessmentRunRequest.Builder> |
serializableBuilderClass() |
StopAction |
stopAction()
An input option that can be set to either START_EVALUATION or SKIP_EVALUATION.
|
String |
stopActionAsString()
An input option that can be set to either START_EVALUATION or SKIP_EVALUATION.
|
StopAssessmentRunRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assessmentRunArn()
The ARN of the assessment run that you want to stop.
public final StopAction stopAction()
An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.
If the service returns an enum value that is not available in the current SDK version, stopAction will
return StopAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stopActionAsString().
StopActionpublic final String stopActionAsString()
An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.
If the service returns an enum value that is not available in the current SDK version, stopAction will
return StopAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stopActionAsString().
StopActionpublic StopAssessmentRunRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StopAssessmentRunRequest.Builder,StopAssessmentRunRequest>toBuilder in class InspectorRequestpublic static StopAssessmentRunRequest.Builder builder()
public static Class<? extends StopAssessmentRunRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.