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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPermissionsResponse.BuildernextToken(String nextToken)A continuation token, if this is not the first call to retrieve this list.ListPermissionsResponse.BuilderprincipalResourcePermissions(Collection<PrincipalResourcePermissions> principalResourcePermissions)A list of principals and their permissions on the resource for the specified principal and resource types.ListPermissionsResponse.BuilderprincipalResourcePermissions(Consumer<PrincipalResourcePermissions.Builder>... principalResourcePermissions)A list of principals and their permissions on the resource for the specified principal and resource types.ListPermissionsResponse.BuilderprincipalResourcePermissions(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.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
-
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 to#principalResourcePermissions(List.) - 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:
#principalResourcePermissions(java.util.Collection)
-
nextToken
ListPermissionsResponse.Builder nextToken(String 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.
-
-