Interface StartResourceEvaluationRequest.Builder

  • Method Details

    • resourceDetails

      StartResourceEvaluationRequest.Builder resourceDetails(ResourceDetails resourceDetails)

      Returns a ResourceDetails object.

      Parameters:
      resourceDetails - Returns a ResourceDetails object.
      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 ResourceDetails object.

      This is a convenience method that creates an instance of the ResourceDetails.Builder avoiding the need to create one manually via ResourceDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceDetails(ResourceDetails).

      Parameters:
      resourceDetails - a consumer that will call methods on ResourceDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationContext

      StartResourceEvaluationRequest.Builder evaluationContext(EvaluationContext evaluationContext)

      Returns an EvaluationContext object.

      Parameters:
      evaluationContext - Returns an EvaluationContext object.
      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 EvaluationContext object.

      This is a convenience method that creates an instance of the EvaluationContext.Builder avoiding the need to create one manually via EvaluationContext.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evaluationContext(EvaluationContext).

      Parameters:
      evaluationContext - a consumer that will call methods on EvaluationContext.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationMode

      StartResourceEvaluationRequest.Builder evaluationMode(String evaluationMode)

      The mode of an evaluation. The valid values for this API are DETECTIVE and PROACTIVE.

      Parameters:
      evaluationMode - The mode of an evaluation. The valid values for this API are DETECTIVE and PROACTIVE.
      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 DETECTIVE and PROACTIVE.

      Parameters:
      evaluationMode - The mode of an evaluation. The valid values for this API are DETECTIVE and PROACTIVE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationTimeout

      StartResourceEvaluationRequest.Builder evaluationTimeout(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.

      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.