Interface BatchEnableStandardsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchEnableStandardsResponse.Builder,
,BatchEnableStandardsResponse> SdkBuilder<BatchEnableStandardsResponse.Builder,
,BatchEnableStandardsResponse> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
BatchEnableStandardsResponse
public static interface BatchEnableStandardsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<BatchEnableStandardsResponse.Builder,BatchEnableStandardsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstandardsSubscriptions
(Collection<StandardsSubscription> standardsSubscriptions) The details of the standards subscriptions that were enabled.standardsSubscriptions
(Consumer<StandardsSubscription.Builder>... standardsSubscriptions) The details of the standards subscriptions that were enabled.standardsSubscriptions
(StandardsSubscription... standardsSubscriptions) The details of the standards subscriptions that were enabled.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
standardsSubscriptions
BatchEnableStandardsResponse.Builder standardsSubscriptions(Collection<StandardsSubscription> standardsSubscriptions) The details of the standards subscriptions that were enabled.
- Parameters:
standardsSubscriptions
- The details of the standards subscriptions that were enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsSubscriptions
BatchEnableStandardsResponse.Builder standardsSubscriptions(StandardsSubscription... standardsSubscriptions) The details of the standards subscriptions that were enabled.
- Parameters:
standardsSubscriptions
- The details of the standards subscriptions that were enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsSubscriptions
BatchEnableStandardsResponse.Builder standardsSubscriptions(Consumer<StandardsSubscription.Builder>... standardsSubscriptions) The details of the standards subscriptions that were enabled.
This is a convenience method that creates an instance of theStandardsSubscription.Builder
avoiding the need to create one manually viaStandardsSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostandardsSubscriptions(List<StandardsSubscription>)
.- Parameters:
standardsSubscriptions
- a consumer that will call methods onStandardsSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-