Interface DescribeStandardsControlsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeStandardsControlsResponse.Builder,,DescribeStandardsControlsResponse> SdkBuilder<DescribeStandardsControlsResponse.Builder,,DescribeStandardsControlsResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
DescribeStandardsControlsResponse
public static interface DescribeStandardsControlsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<DescribeStandardsControlsResponse.Builder,DescribeStandardsControlsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontrols(Collection<StandardsControl> controls) A list of security standards controls.controls(Consumer<StandardsControl.Builder>... controls) A list of security standards controls.controls(StandardsControl... controls) A list of security standards controls.The pagination token to use to request the next page of results.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, sdkFieldNameToField, 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
-
controls
A list of security standards controls.
- Parameters:
controls- A list of security standards controls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
A list of security standards controls.
- Parameters:
controls- A list of security standards controls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
A list of security standards controls.
This is a convenience method that creates an instance of theStandardsControl.Builderavoiding the need to create one manually viaStandardsControl.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrols(List<StandardsControl>).- Parameters:
controls- a consumer that will call methods onStandardsControl.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.
-