Interface UpdateEvidenceRequest.Builder

  • Method Details

    • environmentArn

      UpdateEvidenceRequest.Builder environmentArn(String environmentArn)

      The ARN of this governance environment.

      Parameters:
      environmentArn - The ARN of this governance environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • project

      The name of the project.

      Parameters:
      project - The name of the project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evidenceId

      UpdateEvidenceRequest.Builder evidenceId(String evidenceId)

      The unique identifier of the evidence item.

      Parameters:
      evidenceId - The unique identifier of the evidence item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      The optional new title.

      Parameters:
      title - The optional new title.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateEvidenceRequest.Builder description(String description)

      The optional new description.

      Parameters:
      description - The optional new description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addControlReferenceLinks

      UpdateEvidenceRequest.Builder addControlReferenceLinks(Collection<ControlReference> addControlReferenceLinks)

      The control links to add.

      Parameters:
      addControlReferenceLinks - The control links to add.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addControlReferenceLinks

      UpdateEvidenceRequest.Builder addControlReferenceLinks(ControlReference... addControlReferenceLinks)

      The control links to add.

      Parameters:
      addControlReferenceLinks - The control links to add.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addControlReferenceLinks

      UpdateEvidenceRequest.Builder addControlReferenceLinks(Consumer<ControlReference.Builder>... addControlReferenceLinks)

      The control links to add.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to addControlReferenceLinks(List<ControlReference>).

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

      UpdateEvidenceRequest.Builder removeControlReferenceLinks(Collection<ControlReference> removeControlReferenceLinks)

      The control links to remove. AWS Assurance doesn't suggest removed links again.

      Parameters:
      removeControlReferenceLinks - The control links to remove. AWS Assurance doesn't suggest removed links again.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • removeControlReferenceLinks

      UpdateEvidenceRequest.Builder removeControlReferenceLinks(ControlReference... removeControlReferenceLinks)

      The control links to remove. AWS Assurance doesn't suggest removed links again.

      Parameters:
      removeControlReferenceLinks - The control links to remove. AWS Assurance doesn't suggest removed links again.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • removeControlReferenceLinks

      UpdateEvidenceRequest.Builder removeControlReferenceLinks(Consumer<ControlReference.Builder>... removeControlReferenceLinks)

      The control links to remove. AWS Assurance doesn't suggest removed links again.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to removeControlReferenceLinks(List<ControlReference>).

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

      Controls whether AWS Assurance analyzes the latest version of the evidence again and suggests new control links. Specify one of the following values:

      • AUTO – Starts an analysis. The analysis only adds links. It keeps existing links, and it doesn't suggest links that you removed.

      • MANUAL – Doesn't run an analysis. This is the default if you omit this parameter.

      You can't specify DISABLED. If an analysis that started less than 10 minutes ago is still running, AWS Assurance returns a ConflictException. Other changes in the same request might already be applied, so it's safe to retry.

      Parameters:
      linkMode - Controls whether AWS Assurance analyzes the latest version of the evidence again and suggests new control links. Specify one of the following values:

      • AUTO – Starts an analysis. The analysis only adds links. It keeps existing links, and it doesn't suggest links that you removed.

      • MANUAL – Doesn't run an analysis. This is the default if you omit this parameter.

      You can't specify DISABLED. If an analysis that started less than 10 minutes ago is still running, AWS Assurance returns a ConflictException. Other changes in the same request might already be applied, so it's safe to retry.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • linkMode

      Controls whether AWS Assurance analyzes the latest version of the evidence again and suggests new control links. Specify one of the following values:

      • AUTO – Starts an analysis. The analysis only adds links. It keeps existing links, and it doesn't suggest links that you removed.

      • MANUAL – Doesn't run an analysis. This is the default if you omit this parameter.

      You can't specify DISABLED. If an analysis that started less than 10 minutes ago is still running, AWS Assurance returns a ConflictException. Other changes in the same request might already be applied, so it's safe to retry.

      Parameters:
      linkMode - Controls whether AWS Assurance analyzes the latest version of the evidence again and suggests new control links. Specify one of the following values:

      • AUTO – Starts an analysis. The analysis only adds links. It keeps existing links, and it doesn't suggest links that you removed.

      • MANUAL – Doesn't run an analysis. This is the default if you omit this parameter.

      You can't specify DISABLED. If an analysis that started less than 10 minutes ago is still running, AWS Assurance returns a ConflictException. Other changes in the same request might already be applied, so it's safe to retry.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateEvidenceRequest.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.