Interface ListCommonControlsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ControlCatalogResponse.Builder
,CopyableBuilder<ListCommonControlsResponse.Builder,
,ListCommonControlsResponse> SdkBuilder<ListCommonControlsResponse.Builder,
,ListCommonControlsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCommonControlsResponse
@Mutable
@NotThreadSafe
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 theListCommonControls
API returns.commonControls
(Consumer<CommonControlSummary.Builder>... commonControls) The list of common controls that theListCommonControls
API returns.commonControls
(CommonControlSummary... commonControls) The list of common controls that theListCommonControls
API 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, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
commonControls
The list of common controls that the
ListCommonControls
API returns.- Parameters:
commonControls
- The list of common controls that theListCommonControls
API returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonControls
The list of common controls that the
ListCommonControls
API returns.- Parameters:
commonControls
- The list of common controls that theListCommonControls
API 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 theListCommonControls
API returns.CommonControlSummary.Builder
avoiding the need to create one manually viaCommonControlSummary.builder()
.When the
Consumer
completes,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.
-