Interface ListWorkspaceServiceAccountTokensRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListWorkspaceServiceAccountTokensRequest.Builder,
,ListWorkspaceServiceAccountTokensRequest> GrafanaRequest.Builder
,SdkBuilder<ListWorkspaceServiceAccountTokensRequest.Builder,
,ListWorkspaceServiceAccountTokensRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListWorkspaceServiceAccountTokensRequest
@Mutable
@NotThreadSafe
public static interface ListWorkspaceServiceAccountTokensRequest.Builder
extends GrafanaRequest.Builder, SdkPojo, CopyableBuilder<ListWorkspaceServiceAccountTokensRequest.Builder,ListWorkspaceServiceAccountTokensRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of tokens to include in the results.The token for the next set of service accounts to return.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceAccountId
(String serviceAccountId) The ID of the service account for which to return tokens.workspaceId
(String workspaceId) The ID of the workspace for which to return tokens.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, sdkFieldNameToField, sdkFields
-
Method Details
-
maxResults
The maximum number of tokens to include in the results.
- Parameters:
maxResults
- The maximum number of tokens to include in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of service accounts to return. (You receive this token from a previous
ListWorkspaceServiceAccountTokens
operation.)- Parameters:
nextToken
- The token for the next set of service accounts to return. (You receive this token from a previousListWorkspaceServiceAccountTokens
operation.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccountId
The ID of the service account for which to return tokens.
- Parameters:
serviceAccountId
- The ID of the service account for which to return tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceId
The ID of the workspace for which to return tokens.
- Parameters:
workspaceId
- The ID of the workspace for which to return tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListWorkspaceServiceAccountTokensRequest.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
ListWorkspaceServiceAccountTokensRequest.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.
-