Interface BatchUpdateStandardsControlAssociationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateStandardsControlAssociationsRequest.Builder,
,BatchUpdateStandardsControlAssociationsRequest> SdkBuilder<BatchUpdateStandardsControlAssociationsRequest.Builder,
,BatchUpdateStandardsControlAssociationsRequest> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
BatchUpdateStandardsControlAssociationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.standardsControlAssociationUpdates
(Collection<StandardsControlAssociationUpdate> standardsControlAssociationUpdates) Updates the enablement status of a security control in a specified standard.standardsControlAssociationUpdates
(Consumer<StandardsControlAssociationUpdate.Builder>... standardsControlAssociationUpdates) Updates the enablement status of a security control in a specified standard.standardsControlAssociationUpdates
(StandardsControlAssociationUpdate... standardsControlAssociationUpdates) Updates the enablement status of a security control in a specified standard.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
standardsControlAssociationUpdates
BatchUpdateStandardsControlAssociationsRequest.Builder standardsControlAssociationUpdates(Collection<StandardsControlAssociationUpdate> standardsControlAssociationUpdates) Updates the enablement status of a security control in a specified standard.
Calls to this operation return a
RESOURCE_NOT_FOUND_EXCEPTION
error when the standard subscription for the control hasStandardsControlsUpdatable
valueNOT_READY_FOR_UPDATES
.- Parameters:
standardsControlAssociationUpdates
- Updates the enablement status of a security control in a specified standard.Calls to this operation return a
RESOURCE_NOT_FOUND_EXCEPTION
error when the standard subscription for the control hasStandardsControlsUpdatable
valueNOT_READY_FOR_UPDATES
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsControlAssociationUpdates
BatchUpdateStandardsControlAssociationsRequest.Builder standardsControlAssociationUpdates(StandardsControlAssociationUpdate... standardsControlAssociationUpdates) Updates the enablement status of a security control in a specified standard.
Calls to this operation return a
RESOURCE_NOT_FOUND_EXCEPTION
error when the standard subscription for the control hasStandardsControlsUpdatable
valueNOT_READY_FOR_UPDATES
.- Parameters:
standardsControlAssociationUpdates
- Updates the enablement status of a security control in a specified standard.Calls to this operation return a
RESOURCE_NOT_FOUND_EXCEPTION
error when the standard subscription for the control hasStandardsControlsUpdatable
valueNOT_READY_FOR_UPDATES
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsControlAssociationUpdates
BatchUpdateStandardsControlAssociationsRequest.Builder standardsControlAssociationUpdates(Consumer<StandardsControlAssociationUpdate.Builder>... standardsControlAssociationUpdates) Updates the enablement status of a security control in a specified standard.
Calls to this operation return a
This is a convenience method that creates an instance of theRESOURCE_NOT_FOUND_EXCEPTION
error when the standard subscription for the control hasStandardsControlsUpdatable
valueNOT_READY_FOR_UPDATES
.StandardsControlAssociationUpdate.Builder
avoiding the need to create one manually viaStandardsControlAssociationUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostandardsControlAssociationUpdates(List<StandardsControlAssociationUpdate>)
.- Parameters:
standardsControlAssociationUpdates
- a consumer that will call methods onStandardsControlAssociationUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateStandardsControlAssociationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateStandardsControlAssociationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-