Interface ListOrganizationalUnitsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerAutomationRequest.Builder,CopyableBuilder<ListOrganizationalUnitsRequest.Builder,,ListOrganizationalUnitsRequest> SdkBuilder<ListOrganizationalUnitsRequest.Builder,,ListOrganizationalUnitsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListOrganizationalUnitsRequest
@Mutable
@NotThreadSafe
public static interface ListOrganizationalUnitsRequest.Builder
extends ComputeOptimizerAutomationRequest.Builder, SdkPojo, CopyableBuilder<ListOrganizationalUnitsRequest.Builder,ListOrganizationalUnitsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of organizational units to return in a single response.The token to use to retrieve the next page of results.organizationalUnitIds(String... organizationalUnitIds) The organizational unit (OU) or organization root IDs to return.organizationalUnitIds(Collection<String> organizationalUnitIds) The organizational unit (OU) or organization root IDs to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.computeoptimizerautomation.model.ComputeOptimizerAutomationRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
organizationalUnitIds
ListOrganizationalUnitsRequest.Builder organizationalUnitIds(Collection<String> organizationalUnitIds) The organizational unit (OU) or organization root IDs to return. If you don't specify this parameter, the operation returns the organization root and every OU.
- Parameters:
organizationalUnitIds- The organizational unit (OU) or organization root IDs to return. If you don't specify this parameter, the operation returns the organization root and every OU.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnitIds
The organizational unit (OU) or organization root IDs to return. If you don't specify this parameter, the operation returns the organization root and every OU.
- Parameters:
organizationalUnitIds- The organizational unit (OU) or organization root IDs to return. If you don't specify this parameter, the operation returns the organization root and every OU.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of organizational units to return in a single response. If you don't specify a value, the default is 1,000.
- Parameters:
maxResults- The maximum number of organizational units to return in a single response. If you don't specify a value, the default is 1,000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token to use to retrieve the next page of results.
- Parameters:
nextToken- The token to use to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListOrganizationalUnitsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListOrganizationalUnitsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-