Interface ListWorkspaceServiceAccountsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkspaceServiceAccountsResponse.Builder,ListWorkspaceServiceAccountsResponse>,GrafanaResponse.Builder,SdkBuilder<ListWorkspaceServiceAccountsResponse.Builder,ListWorkspaceServiceAccountsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListWorkspaceServiceAccountsResponse
public static interface ListWorkspaceServiceAccountsResponse.Builder extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<ListWorkspaceServiceAccountsResponse.Builder,ListWorkspaceServiceAccountsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWorkspaceServiceAccountsResponse.BuildernextToken(String nextToken)The token to use when requesting the next set of service accounts.ListWorkspaceServiceAccountsResponse.BuilderserviceAccounts(Collection<ServiceAccountSummary> serviceAccounts)An array of structures containing information about the service accounts.ListWorkspaceServiceAccountsResponse.BuilderserviceAccounts(Consumer<ServiceAccountSummary.Builder>... serviceAccounts)An array of structures containing information about the service accounts.ListWorkspaceServiceAccountsResponse.BuilderserviceAccounts(ServiceAccountSummary... serviceAccounts)An array of structures containing information about the service accounts.ListWorkspaceServiceAccountsResponse.BuilderworkspaceId(String workspaceId)The workspace to which the service accounts are associated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
nextToken
ListWorkspaceServiceAccountsResponse.Builder nextToken(String nextToken)
The token to use when requesting the next set of service accounts.
- Parameters:
nextToken- The token to use when requesting the next set of service accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccounts
ListWorkspaceServiceAccountsResponse.Builder serviceAccounts(Collection<ServiceAccountSummary> serviceAccounts)
An array of structures containing information about the service accounts.
- Parameters:
serviceAccounts- An array of structures containing information about the service accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccounts
ListWorkspaceServiceAccountsResponse.Builder serviceAccounts(ServiceAccountSummary... serviceAccounts)
An array of structures containing information about the service accounts.
- Parameters:
serviceAccounts- An array of structures containing information about the service accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccounts
ListWorkspaceServiceAccountsResponse.Builder serviceAccounts(Consumer<ServiceAccountSummary.Builder>... serviceAccounts)
An array of structures containing information about the service accounts.
This is a convenience method that creates an instance of theServiceAccountSummary.Builderavoiding the need to create one manually viaServiceAccountSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serviceAccounts(List.) - Parameters:
serviceAccounts- a consumer that will call methods onServiceAccountSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#serviceAccounts(java.util.Collection)
-
workspaceId
ListWorkspaceServiceAccountsResponse.Builder workspaceId(String workspaceId)
The workspace to which the service accounts are associated.
- Parameters:
workspaceId- The workspace to which the service accounts are associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-