Interface ListEnabledControlsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ControlTowerResponse.Builder,CopyableBuilder<ListEnabledControlsResponse.Builder,ListEnabledControlsResponse>,SdkBuilder<ListEnabledControlsResponse.Builder,ListEnabledControlsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEnabledControlsResponse
public static interface ListEnabledControlsResponse.Builder extends ControlTowerResponse.Builder, SdkPojo, CopyableBuilder<ListEnabledControlsResponse.Builder,ListEnabledControlsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEnabledControlsResponse.BuilderenabledControls(Collection<EnabledControlSummary> enabledControls)Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains.ListEnabledControlsResponse.BuilderenabledControls(Consumer<EnabledControlSummary.Builder>... enabledControls)Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains.ListEnabledControlsResponse.BuilderenabledControls(EnabledControlSummary... enabledControls)Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains.ListEnabledControlsResponse.BuildernextToken(String nextToken)Retrieves the next page of results.-
Methods inherited from interface software.amazon.awssdk.services.controltower.model.ControlTowerResponse.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
-
enabledControls
ListEnabledControlsResponse.Builder enabledControls(Collection<EnabledControlSummary> enabledControls)
Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains.
- Parameters:
enabledControls- Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledControls
ListEnabledControlsResponse.Builder enabledControls(EnabledControlSummary... enabledControls)
Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains.
- Parameters:
enabledControls- Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledControls
ListEnabledControlsResponse.Builder enabledControls(Consumer<EnabledControlSummary.Builder>... enabledControls)
Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains.
This is a convenience method that creates an instance of theEnabledControlSummary.Builderavoiding the need to create one manually viaEnabledControlSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#enabledControls(List.) - Parameters:
enabledControls- a consumer that will call methods onEnabledControlSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#enabledControls(java.util.Collection)
-
nextToken
ListEnabledControlsResponse.Builder nextToken(String nextToken)
Retrieves the next page of results. If the string is empty, the response is the end of the results.
- Parameters:
nextToken- Retrieves the next page of results. If the string is empty, the response is the end of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-