Class StartResourceEvaluationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.config.model.ConfigRequest
-
- software.amazon.awssdk.services.config.model.StartResourceEvaluationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartResourceEvaluationRequest.Builder,StartResourceEvaluationRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartResourceEvaluationRequest extends ConfigRequest implements ToCopyableBuilder<StartResourceEvaluationRequest.Builder,StartResourceEvaluationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartResourceEvaluationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartResourceEvaluationRequest.Builderbuilder()StringclientToken()A client token is a unique, case-sensitive string of up to 64 ASCII characters.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EvaluationContextevaluationContext()Returns anEvaluationContextobject.EvaluationModeevaluationMode()The mode of an evaluation.StringevaluationModeAsString()The mode of an evaluation.IntegerevaluationTimeout()The timeout for an evaluation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceDetailsresourceDetails()Returns aResourceDetailsobject.List<SdkField<?>>sdkFields()static Class<? extends StartResourceEvaluationRequest.Builder>serializableBuilderClass()StartResourceEvaluationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceDetails
public final ResourceDetails resourceDetails()
Returns a
ResourceDetailsobject.- Returns:
- Returns a
ResourceDetailsobject.
-
evaluationContext
public final EvaluationContext evaluationContext()
Returns an
EvaluationContextobject.- Returns:
- Returns an
EvaluationContextobject.
-
evaluationMode
public final EvaluationMode evaluationMode()
The mode of an evaluation. The valid values for this API are
DETECTIVEandPROACTIVE.If the service returns an enum value that is not available in the current SDK version,
evaluationModewill returnEvaluationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromevaluationModeAsString().- Returns:
- The mode of an evaluation. The valid values for this API are
DETECTIVEandPROACTIVE. - See Also:
EvaluationMode
-
evaluationModeAsString
public final String evaluationModeAsString()
The mode of an evaluation. The valid values for this API are
DETECTIVEandPROACTIVE.If the service returns an enum value that is not available in the current SDK version,
evaluationModewill returnEvaluationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromevaluationModeAsString().- Returns:
- The mode of an evaluation. The valid values for this API are
DETECTIVEandPROACTIVE. - See Also:
EvaluationMode
-
evaluationTimeout
public final Integer evaluationTimeout()
The timeout for an evaluation. The default is 900 seconds. You cannot specify a number greater than 3600. If you specify 0, Config uses the default.
- Returns:
- The timeout for an evaluation. The default is 900 seconds. You cannot specify a number greater than 3600. If you specify 0, Config uses the default.
-
clientToken
public final String clientToken()
A client token is a unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request using one of these actions, specify a client token in the request.
Avoid reusing the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, other than the Region or Availability Zone, the retry fails with an IdempotentParameterMismatch error.
- Returns:
- A client token is a unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API
request using one of these actions, specify a client token in the request.
Avoid reusing the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, other than the Region or Availability Zone, the retry fails with an IdempotentParameterMismatch error.
-
toBuilder
public StartResourceEvaluationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartResourceEvaluationRequest.Builder,StartResourceEvaluationRequest>- Specified by:
toBuilderin classConfigRequest
-
builder
public static StartResourceEvaluationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartResourceEvaluationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-