Interface ListPermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPermissionsResponse.Builder,
,ListPermissionsResponse> GrafanaResponse.Builder
,SdkBuilder<ListPermissionsResponse.Builder,
,ListPermissionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPermissionsResponse
@Mutable
@NotThreadSafe
public static interface ListPermissionsResponse.Builder
extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<ListPermissionsResponse.Builder,ListPermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use in a subsequentListPermissions
operation to return the next set of results.permissions
(Collection<PermissionEntry> permissions) The permissions returned by the operation.permissions
(Consumer<PermissionEntry.Builder>... permissions) The permissions returned by the operation.permissions
(PermissionEntry... permissions) The permissions returned by the operation.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token to use in a subsequent
ListPermissions
operation to return the next set of results.- Parameters:
nextToken
- The token to use in a subsequentListPermissions
operation to return the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The permissions returned by the operation.
- Parameters:
permissions
- The permissions returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The permissions returned by the operation.
- Parameters:
permissions
- The permissions returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The permissions returned by the operation.
This is a convenience method that creates an instance of thePermissionEntry.Builder
avoiding the need to create one manually viaPermissionEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissions(List<PermissionEntry>)
.- Parameters:
permissions
- a consumer that will call methods onPermissionEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-