Interface ListPermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPermissionsResponse.Builder,,ListPermissionsResponse> GrafanaResponse.Builder,SdkBuilder<ListPermissionsResponse.Builder,,ListPermissionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPermissionsResponse
public static interface ListPermissionsResponse.Builder
extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<ListPermissionsResponse.Builder,ListPermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use in a subsequentListPermissionsoperation 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
copyMethods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token to use in a subsequent
ListPermissionsoperation to return the next set of results.- Parameters:
nextToken- The token to use in a subsequentListPermissionsoperation 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.Builderavoiding the need to create one manually viaPermissionEntry.builder().When the
Consumercompletes,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:
-