Interface BatchEnableStandardsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchEnableStandardsRequest.Builder,,BatchEnableStandardsRequest> SdkBuilder<BatchEnableStandardsRequest.Builder,,BatchEnableStandardsRequest> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
BatchEnableStandardsRequest
public static interface BatchEnableStandardsRequest.Builder
extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<BatchEnableStandardsRequest.Builder,BatchEnableStandardsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.standardsSubscriptionRequests(Collection<StandardsSubscriptionRequest> standardsSubscriptionRequests) The list of standards checks to enable.standardsSubscriptionRequests(Consumer<StandardsSubscriptionRequest.Builder>... standardsSubscriptionRequests) The list of standards checks to enable.standardsSubscriptionRequests(StandardsSubscriptionRequest... standardsSubscriptionRequests) The list of standards checks to enable.Methods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
standardsSubscriptionRequests
BatchEnableStandardsRequest.Builder standardsSubscriptionRequests(Collection<StandardsSubscriptionRequest> standardsSubscriptionRequests) The list of standards checks to enable.
- Parameters:
standardsSubscriptionRequests- The list of standards checks to enable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsSubscriptionRequests
BatchEnableStandardsRequest.Builder standardsSubscriptionRequests(StandardsSubscriptionRequest... standardsSubscriptionRequests) The list of standards checks to enable.
- Parameters:
standardsSubscriptionRequests- The list of standards checks to enable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsSubscriptionRequests
BatchEnableStandardsRequest.Builder standardsSubscriptionRequests(Consumer<StandardsSubscriptionRequest.Builder>... standardsSubscriptionRequests) The list of standards checks to enable.
This is a convenience method that creates an instance of theStandardsSubscriptionRequest.Builderavoiding the need to create one manually viaStandardsSubscriptionRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostandardsSubscriptionRequests(List<StandardsSubscriptionRequest>).- Parameters:
standardsSubscriptionRequests- a consumer that will call methods onStandardsSubscriptionRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchEnableStandardsRequest.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
BatchEnableStandardsRequest.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.
-