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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListControlsResponse.Buildercontrols(Collection<ControlSummary> controls)Returns a list of controls, given as structures of type controlSummary.ListControlsResponse.Buildercontrols(Consumer<ControlSummary.Builder>... controls)Returns a list of controls, given as structures of type controlSummary.ListControlsResponse.Buildercontrols(ControlSummary... controls)Returns a list of controls, given as structures of type controlSummary.ListControlsResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
controls
ListControlsResponse.Builder controls(Collection<ControlSummary> 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
ListControlsResponse.Builder controls(ControlSummary... 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
ListControlsResponse.Builder controls(Consumer<ControlSummary.Builder>... 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 to#controls(List.) - 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:
#controls(java.util.Collection)
-
nextToken
ListControlsResponse.Builder nextToken(String 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.
-
-