Interface GetEnabledStandardsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetEnabledStandardsResponse.Builder,,GetEnabledStandardsResponse> SdkBuilder<GetEnabledStandardsResponse.Builder,,GetEnabledStandardsResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetEnabledStandardsResponse
public static interface GetEnabledStandardsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetEnabledStandardsResponse.Builder,GetEnabledStandardsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to request the next page of results.standardsSubscriptions(Collection<StandardsSubscription> standardsSubscriptions) The list ofStandardsSubscriptionsobjects that include information about the enabled standards.standardsSubscriptions(Consumer<StandardsSubscription.Builder>... standardsSubscriptions) The list ofStandardsSubscriptionsobjects that include information about the enabled standards.standardsSubscriptions(StandardsSubscription... standardsSubscriptions) The list ofStandardsSubscriptionsobjects that include information about the enabled standards.Methods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
standardsSubscriptions
GetEnabledStandardsResponse.Builder standardsSubscriptions(Collection<StandardsSubscription> standardsSubscriptions) The list of
StandardsSubscriptionsobjects that include information about the enabled standards.- Parameters:
standardsSubscriptions- The list ofStandardsSubscriptionsobjects that include information about the enabled standards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsSubscriptions
GetEnabledStandardsResponse.Builder standardsSubscriptions(StandardsSubscription... standardsSubscriptions) The list of
StandardsSubscriptionsobjects that include information about the enabled standards.- Parameters:
standardsSubscriptions- The list ofStandardsSubscriptionsobjects that include information about the enabled standards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsSubscriptions
GetEnabledStandardsResponse.Builder standardsSubscriptions(Consumer<StandardsSubscription.Builder>... standardsSubscriptions) The list of
This is a convenience method that creates an instance of theStandardsSubscriptionsobjects that include information about the enabled standards.StandardsSubscription.Builderavoiding the need to create one manually viaStandardsSubscription.builder().When the
Consumercompletes,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:
-
nextToken
The pagination token to use to request the next page of results.
- Parameters:
nextToken- The pagination token to use to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-