public static interface ListPermissionsResponse.Builder extends LakeFormationResponse.Builder, SdkPojo, CopyableBuilder<ListPermissionsResponse.Builder,ListPermissionsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListPermissionsResponse.Builder |
nextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
|
ListPermissionsResponse.Builder |
principalResourcePermissions(Collection<PrincipalResourcePermissions> principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
|
ListPermissionsResponse.Builder |
principalResourcePermissions(Consumer<PrincipalResourcePermissions.Builder>... principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
|
ListPermissionsResponse.Builder |
principalResourcePermissions(PrincipalResourcePermissions... principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPermissionsResponse.Builder principalResourcePermissions(Collection<PrincipalResourcePermissions> principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
principalResourcePermissions - A list of principals and their permissions on the resource for the specified principal and resource
types.ListPermissionsResponse.Builder principalResourcePermissions(PrincipalResourcePermissions... principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
principalResourcePermissions - A list of principals and their permissions on the resource for the specified principal and resource
types.ListPermissionsResponse.Builder principalResourcePermissions(Consumer<PrincipalResourcePermissions.Builder>... principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
This is a convenience method that creates an instance of thePrincipalResourcePermissions.Builder avoiding the
need to create one manually via
PrincipalResourcePermissions.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #principalResourcePermissions(List.
principalResourcePermissions - a consumer that will call methods on
PrincipalResourcePermissions.Builder#principalResourcePermissions(java.util.Collection) ListPermissionsResponse.Builder nextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
nextToken - A continuation token, if this is not the first call to retrieve this list.Copyright © 2023. All rights reserved.