Interface ListSpacesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<ListSpacesRequest.Builder,,ListSpacesRequest> SdkBuilder<ListSpacesRequest.Builder,,ListSpacesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListSpacesRequest
@Mutable
@NotThreadSafe
public static interface ListSpacesRequest.Builder
extends CloudWatchOmniRequest.Builder, SdkPojo, CopyableBuilder<ListSpacesRequest.Builder,ListSpacesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionFilter by domain ID.maxResults(Integer maxResults) The maximum number of spaces to return per page.A token to retrieve the next page of results.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.cloudwatchomni.model.CloudWatchOmniRequest.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
-
domainId
Filter by domain ID.
- Parameters:
domainId- Filter by domain ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token to retrieve the next page of results. Supply the same filters used on the request that returned it. Tokens expire after 24 hours.
- Parameters:
nextToken- A token to retrieve the next page of results. Supply the same filters used on the request that returned it. Tokens expire after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of spaces to return per page. Defaults to 100. A page can contain fewer results than this value even when more results remain; continue while nextToken is present.
- Parameters:
maxResults- The maximum number of spaces to return per page. Defaults to 100. A page can contain fewer results than this value even when more results remain; continue while nextToken is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListSpacesRequest.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
ListSpacesRequest.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.
-