Interface DescribeStandardsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeStandardsResponse.Builder,
,DescribeStandardsResponse> SdkBuilder<DescribeStandardsResponse.Builder,
,DescribeStandardsResponse> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
DescribeStandardsResponse
public static interface DescribeStandardsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<DescribeStandardsResponse.Builder,DescribeStandardsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to request the next page of results.standards
(Collection<Standard> standards) A list of available standards.standards
(Consumer<Standard.Builder>... standards) A list of available standards.A list of available standards.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
-
standards
A list of available standards.
- Parameters:
standards
- A list of available standards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standards
A list of available standards.
- Parameters:
standards
- A list of available standards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standards
A list of available standards.
This is a convenience method that creates an instance of theStandard.Builder
avoiding the need to create one manually viaStandard.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostandards(List<Standard>)
.- Parameters:
standards
- a consumer that will call methods onStandard.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.
-