Interface ListVersionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListVersionsRequest.Builder,
,ListVersionsRequest> GrafanaRequest.Builder
,SdkBuilder<ListVersionsRequest.Builder,
,ListVersionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListVersionsRequest
public static interface ListVersionsRequest.Builder
extends GrafanaRequest.Builder, SdkPojo, CopyableBuilder<ListVersionsRequest.Builder,ListVersionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of results to include in the response.The token to use when requesting the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workspaceId
(String workspaceId) The ID of the workspace to list the available upgrade versions.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
maxResults
The maximum number of results to include in the response.
- Parameters:
maxResults
- The maximum number of results to include in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token to use when requesting the next set of results. You receive this token from a previous
ListVersions
operation.- Parameters:
nextToken
- The token to use when requesting the next set of results. You receive this token from a previousListVersions
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceId
The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana that are supported for
CreateWorkspace
.- Parameters:
workspaceId
- The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana that are supported forCreateWorkspace
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-