Interface StartResourceEvaluationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<StartResourceEvaluationRequest.Builder,,StartResourceEvaluationRequest> SdkBuilder<StartResourceEvaluationRequest.Builder,,StartResourceEvaluationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartResourceEvaluationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A client token is a unique, case-sensitive string of up to 64 ASCII characters.evaluationContext(Consumer<EvaluationContext.Builder> evaluationContext) Returns anEvaluationContextobject.evaluationContext(EvaluationContext evaluationContext) Returns anEvaluationContextobject.evaluationMode(String evaluationMode) The mode of an evaluation.evaluationMode(EvaluationMode evaluationMode) The mode of an evaluation.evaluationTimeout(Integer evaluationTimeout) The timeout for an evaluation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceDetails(Consumer<ResourceDetails.Builder> resourceDetails) Returns aResourceDetailsobject.resourceDetails(ResourceDetails resourceDetails) Returns aResourceDetailsobject.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceDetails
Returns a
ResourceDetailsobject.- Parameters:
resourceDetails- Returns aResourceDetailsobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDetails
default StartResourceEvaluationRequest.Builder resourceDetails(Consumer<ResourceDetails.Builder> resourceDetails) Returns a
This is a convenience method that creates an instance of theResourceDetailsobject.ResourceDetails.Builderavoiding the need to create one manually viaResourceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceDetails(ResourceDetails).- Parameters:
resourceDetails- a consumer that will call methods onResourceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationContext
Returns an
EvaluationContextobject.- Parameters:
evaluationContext- Returns anEvaluationContextobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationContext
default StartResourceEvaluationRequest.Builder evaluationContext(Consumer<EvaluationContext.Builder> evaluationContext) Returns an
This is a convenience method that creates an instance of theEvaluationContextobject.EvaluationContext.Builderavoiding the need to create one manually viaEvaluationContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationContext(EvaluationContext).- Parameters:
evaluationContext- a consumer that will call methods onEvaluationContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationMode
The mode of an evaluation. The valid values for this API are
DETECTIVEandPROACTIVE.- Parameters:
evaluationMode- The mode of an evaluation. The valid values for this API areDETECTIVEandPROACTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationMode
The mode of an evaluation. The valid values for this API are
DETECTIVEandPROACTIVE.- Parameters:
evaluationMode- The mode of an evaluation. The valid values for this API areDETECTIVEandPROACTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartResourceEvaluationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartResourceEvaluationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-