Interface ListControlsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ControlCatalogResponse.Builder,CopyableBuilder<ListControlsResponse.Builder,,ListControlsResponse> SdkBuilder<ListControlsResponse.Builder,,ListControlsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListControlsResponse
public static interface ListControlsResponse.Builder
extends ControlCatalogResponse.Builder, SdkPojo, CopyableBuilder<ListControlsResponse.Builder,ListControlsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontrols(Collection<ControlSummary> controls) Returns a list of controls, given as structures of type controlSummary.controls(Consumer<ControlSummary.Builder>... controls) Returns a list of controls, given as structures of type controlSummary.controls(ControlSummary... controls) Returns a list of controls, given as structures of type controlSummary.The pagination token that's used to fetch the next set of results.Methods inherited from interface software.amazon.awssdk.services.controlcatalog.model.ControlCatalogResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
controls
Returns a list of controls, given as structures of type controlSummary.
- Parameters:
controls- Returns a list of controls, given as structures of type controlSummary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
Returns a list of controls, given as structures of type controlSummary.
- Parameters:
controls- Returns a list of controls, given as structures of type controlSummary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
Returns a list of controls, given as structures of type controlSummary.
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 that's used to fetch the next set of results.
- Parameters:
nextToken- The pagination token that's used to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-