Interface ListControlGroupsResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListControlGroupsResponse.Builder,,ListControlGroupsResponse> SdkBuilder<ListControlGroupsResponse.Builder,,ListControlGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListControlGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListControlGroupsResponse.Builder
extends AssuranceResponse.Builder, SdkPojo, CopyableBuilder<ListControlGroupsResponse.Builder,ListControlGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontrolGroups(Collection<ControlGroupSummary> controlGroups) The control groups in the framework version, for this page of results.controlGroups(Consumer<ControlGroupSummary.Builder>... controlGroups) The control groups in the framework version, for this page of results.controlGroups(ControlGroupSummary... controlGroups) The control groups in the framework version, 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
-
controlGroups
The control groups in the framework version, for this page of results.
- Parameters:
controlGroups- The control groups in the framework version, for this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlGroups
The control groups in the framework version, for this page of results.
- Parameters:
controlGroups- The control groups in the framework version, for this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlGroups
ListControlGroupsResponse.Builder controlGroups(Consumer<ControlGroupSummary.Builder>... controlGroups) The control groups in the framework version, for this page of results.
This is a convenience method that creates an instance of theControlGroupSummary.Builderavoiding the need to create one manually viaControlGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrolGroups(List<ControlGroupSummary>).- Parameters:
controlGroups- a consumer that will call methods onControlGroupSummary.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.
-