Interface ListControlsResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListControlsResponse.Builder,,ListControlsResponse> SdkBuilder<ListControlsResponse.Builder,,ListControlsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListControlsResponse
@Mutable
@NotThreadSafe
public static interface ListControlsResponse.Builder
extends AssuranceResponse.Builder, SdkPojo, CopyableBuilder<ListControlsResponse.Builder,ListControlsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontrols(Collection<ControlSummary> controls) The leaf controls in the requested control group, for this page of results.controls(Consumer<ControlSummary.Builder>... controls) The leaf controls in the requested control group, for this page of results.controls(ControlSummary... controls) The leaf controls in the requested control group, for this page of results.The pagination token returned by a previous request.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
controls
The leaf controls in the requested control group, for this page of results.
- Parameters:
controls- The leaf controls in the requested control group, for this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
The leaf controls in the requested control group, for this page of results.
- Parameters:
controls- The leaf controls in the requested control group, for this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
The leaf controls in the requested control group, for this page of results.
This is a convenience method that creates an instance of theControlSummary.Builderavoiding the need to create one manually viaControlSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrols(List<ControlSummary>).- Parameters:
controls- a consumer that will call methods onControlSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
- Parameters:
nextToken- The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-