Class ListPermissionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest
-
- software.amazon.awssdk.services.lakeformation.model.ListPermissionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPermissionsRequest extends LakeFormationRequest implements ToCopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPermissionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPermissionsRequest.Builderbuilder()StringcatalogId()The identifier for the Data Catalog.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringincludeRelated()Indicates that related permissions should be included in the results.IntegermaxResults()The maximum number of results to return.StringnextToken()A continuation token, if this is not the first call to retrieve this list.DataLakePrincipalprincipal()Specifies a principal to filter the permissions returned.Resourceresource()A resource where you will get a list of the principal permissions.DataLakeResourceTyperesourceType()Specifies a resource type to filter the permissions returned.StringresourceTypeAsString()Specifies a resource type to filter the permissions returned.List<SdkField<?>>sdkFields()static Class<? extends ListPermissionsRequest.Builder>serializableBuilderClass()ListPermissionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
catalogId
public final String catalogId()
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
- Returns:
- The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
-
principal
public final DataLakePrincipal principal()
Specifies a principal to filter the permissions returned.
- Returns:
- Specifies a principal to filter the permissions returned.
-
resourceType
public final DataLakeResourceType resourceType()
Specifies a resource type to filter the permissions returned.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnDataLakeResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- Specifies a resource type to filter the permissions returned.
- See Also:
DataLakeResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
Specifies a resource type to filter the permissions returned.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnDataLakeResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- Specifies a resource type to filter the permissions returned.
- See Also:
DataLakeResourceType
-
resource
public final Resource resource()
A resource where you will get a list of the principal permissions.
This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.
- Returns:
- A resource where you will get a list of the principal permissions.
This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.
-
nextToken
public final String nextToken()
A continuation token, if this is not the first call to retrieve this list.
- Returns:
- A continuation token, if this is not the first call to retrieve this list.
-
maxResults
public final Integer maxResults()
The maximum number of results to return.
- Returns:
- The maximum number of results to return.
-
includeRelated
public final String includeRelated()
Indicates that related permissions should be included in the results.
- Returns:
- Indicates that related permissions should be included in the results.
-
toBuilder
public ListPermissionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>- Specified by:
toBuilderin classLakeFormationRequest
-
builder
public static ListPermissionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPermissionsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-