Interface PutControlStatusOverrideRequest.Builder
- All Superinterfaces:
AssuranceRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<PutControlStatusOverrideRequest.Builder,,PutControlStatusOverrideRequest> SdkBuilder<PutControlStatusOverrideRequest.Builder,,PutControlStatusOverrideRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutControlStatusOverrideRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the control.environmentArn(String environmentArn) The Amazon Resource Name (ARN) of this governance environment.The name of the compliance framework.frameworkVersion(String frameworkVersion) The version of the compliance framework.justification(String justification) The reason that the control or requirement doesn't apply to the project.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.requirementId(String requirementId) The identifier of a requirement of the control.The decision to declare.type(StatusOverrideType type) The decision to declare.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 Amazon Resource Name (ARN) of this governance environment.
- Parameters:
environmentArn- The Amazon Resource Name (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.
-
framework
The name of the compliance framework.
- Parameters:
framework- The name of the compliance framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkVersion
The version of the compliance framework.
- Parameters:
frameworkVersion- The version of the compliance framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlId
The identifier of the control. The control must exist in the framework version.
- Parameters:
controlId- The identifier of the control. The control must exist in the framework version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requirementId
The identifier of a requirement of the control. Specify it to declare or remove a decision on that requirement only. Omit it to apply the decision to the whole control. If the requirement doesn't belong to the control, AWS Assurance returns a
ValidationException.- Parameters:
requirementId- The identifier of a requirement of the control. Specify it to declare or remove a decision on that requirement only. Omit it to apply the decision to the whole control. If the requirement doesn't belong to the control, AWS Assurance returns aValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The decision to declare. Specify one of the following values:
-
NOT_APPLICABLE– Excludes the control or requirement from the project's outcome. Requires ajustification. If a decision already exists, the new justification replaces it, and AWS Assurance updatesdeclaredByanddeclaredAt. -
NONE– Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.
- Parameters:
type- The decision to declare. Specify one of the following values:-
NOT_APPLICABLE– Excludes the control or requirement from the project's outcome. Requires ajustification. If a decision already exists, the new justification replaces it, and AWS Assurance updatesdeclaredByanddeclaredAt. -
NONE– Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The decision to declare. Specify one of the following values:
-
NOT_APPLICABLE– Excludes the control or requirement from the project's outcome. Requires ajustification. If a decision already exists, the new justification replaces it, and AWS Assurance updatesdeclaredByanddeclaredAt. -
NONE– Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.
- Parameters:
type- The decision to declare. Specify one of the following values:-
NOT_APPLICABLE– Excludes the control or requirement from the project's outcome. Requires ajustification. If a decision already exists, the new justification replaces it, and AWS Assurance updatesdeclaredByanddeclaredAt. -
NONE– Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
justification
The reason that the control or requirement doesn't apply to the project. AWS Assurance keeps it as evidence for the decision. Required when
typeisNOT_APPLICABLE, and must contain 1–1,024 characters that aren't all whitespace. Omit it whentypeisNONE.- Parameters:
justification- The reason that the control or requirement doesn't apply to the project. AWS Assurance keeps it as evidence for the decision. Required whentypeisNOT_APPLICABLE, and must contain 1–1,024 characters that aren't all whitespace. Omit it whentypeisNONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutControlStatusOverrideRequest.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
PutControlStatusOverrideRequest.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.
-