Interface ListPermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPermissionsResponse.Builder,,ListPermissionsResponse> LakeFormationResponse.Builder,SdkBuilder<ListPermissionsResponse.Builder,,ListPermissionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPermissionsResponse
public static interface ListPermissionsResponse.Builder
extends LakeFormationResponse.Builder, SdkPojo, CopyableBuilder<ListPermissionsResponse.Builder,ListPermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA continuation token, if this is not the first call to retrieve this list.principalResourcePermissions(Collection<PrincipalResourcePermissions> principalResourcePermissions) A list of principals and their permissions on the resource for the specified principal and resource types.principalResourcePermissions(Consumer<PrincipalResourcePermissions.Builder>... principalResourcePermissions) A list of principals and their permissions on the resource for the specified principal and resource types.principalResourcePermissions(PrincipalResourcePermissions... principalResourcePermissions) A list of principals and their permissions on the resource for the specified principal and resource types.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.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
-
principalResourcePermissions
ListPermissionsResponse.Builder principalResourcePermissions(Collection<PrincipalResourcePermissions> principalResourcePermissions) A list of principals and their permissions on the resource for the specified principal and resource types.
- Parameters:
principalResourcePermissions- A list of principals and their permissions on the resource for the specified principal and resource types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalResourcePermissions
ListPermissionsResponse.Builder principalResourcePermissions(PrincipalResourcePermissions... principalResourcePermissions) A list of principals and their permissions on the resource for the specified principal and resource types.
- Parameters:
principalResourcePermissions- A list of principals and their permissions on the resource for the specified principal and resource types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalResourcePermissions
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.Builderavoiding the need to create one manually viaPrincipalResourcePermissions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipalResourcePermissions(List<PrincipalResourcePermissions>).- Parameters:
principalResourcePermissions- a consumer that will call methods onPrincipalResourcePermissions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A continuation token, if this is not the first call to retrieve this list.
- Parameters:
nextToken- A continuation token, if this is not the first call to retrieve this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-