Interface UpdateEvidenceRequest.Builder
- All Superinterfaces:
AssuranceRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEvidenceRequest.Builder,,UpdateEvidenceRequest> SdkBuilder<UpdateEvidenceRequest.Builder,,UpdateEvidenceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEvidenceRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddControlReferenceLinks(Collection<ControlReference> addControlReferenceLinks) The control links to add.addControlReferenceLinks(Consumer<ControlReference.Builder>... addControlReferenceLinks) The control links to add.addControlReferenceLinks(ControlReference... addControlReferenceLinks) The control links to add.description(String description) The optional new description.environmentArn(String environmentArn) The ARN of this governance environment.evidenceId(String evidenceId) The unique identifier of the evidence item.Controls whether AWS Assurance analyzes the latest version of the evidence again and suggests new control links.Controls whether AWS Assurance analyzes the latest version of the evidence again and suggests new control links.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the project.removeControlReferenceLinks(Collection<ControlReference> removeControlReferenceLinks) The control links to remove.removeControlReferenceLinks(Consumer<ControlReference.Builder>... removeControlReferenceLinks) The control links to remove.removeControlReferenceLinks(ControlReference... removeControlReferenceLinks) The control links to remove.The optional new title.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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 theControlReference.Builderavoiding the need to create one manually viaControlReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddControlReferenceLinks(List<ControlReference>).- Parameters:
addControlReferenceLinks- a consumer that will call methods onControlReference.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 theControlReference.Builderavoiding the need to create one manually viaControlReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoveControlReferenceLinks(List<ControlReference>).- Parameters:
removeControlReferenceLinks- a consumer that will call methods onControlReference.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 aConflictException. 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 aConflictException. 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 aConflictException. 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 aConflictException. 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEvidenceRequest.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.
-