Interface ListCommonControlsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ControlCatalogResponse.Builder,CopyableBuilder<ListCommonControlsResponse.Builder,,ListCommonControlsResponse> SdkBuilder<ListCommonControlsResponse.Builder,,ListCommonControlsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCommonControlsResponse
public static interface ListCommonControlsResponse.Builder
extends ControlCatalogResponse.Builder, SdkPojo, CopyableBuilder<ListCommonControlsResponse.Builder,ListCommonControlsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncommonControls(Collection<CommonControlSummary> commonControls) The list of common controls that theListCommonControlsAPI returns.commonControls(Consumer<CommonControlSummary.Builder>... commonControls) The list of common controls that theListCommonControlsAPI returns.commonControls(CommonControlSummary... commonControls) The list of common controls that theListCommonControlsAPI returns.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
-
commonControls
The list of common controls that the
ListCommonControlsAPI returns.- Parameters:
commonControls- The list of common controls that theListCommonControlsAPI returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonControls
The list of common controls that the
ListCommonControlsAPI returns.- Parameters:
commonControls- The list of common controls that theListCommonControlsAPI returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonControls
ListCommonControlsResponse.Builder commonControls(Consumer<CommonControlSummary.Builder>... commonControls) The list of common controls that the
This is a convenience method that creates an instance of theListCommonControlsAPI returns.CommonControlSummary.Builderavoiding the need to create one manually viaCommonControlSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommonControls(List<CommonControlSummary>).- Parameters:
commonControls- a consumer that will call methods onCommonControlSummary.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.
-