Interface ListRlsPolicyAttachmentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListRlsPolicyAttachmentsRequest.Builder,,ListRlsPolicyAttachmentsRequest> LakeFormationRequest.Builder,SdkBuilder<ListRlsPolicyAttachmentsRequest.Builder,,ListRlsPolicyAttachmentsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListRlsPolicyAttachmentsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of attachments to return in a single response.A continuation token, if this is a continuation call.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyName(String policyName) If specified, returns only the attachments for the row-level security policy with this name.principal(Consumer<DataLakePrincipal.Builder> principal) If specified, returns only the attachments for the given principal.principal(DataLakePrincipal principal) If specified, returns only the attachments for the given principal.resource(Consumer<Resource.Builder> resource) If specified, returns only the attachments for the given resource.If specified, returns only the attachments for the given resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resource
If specified, returns only the attachments for the given resource.
- Parameters:
resource- If specified, returns only the attachments for the given resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
If specified, returns only the attachments for the given resource.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(Resource).- Parameters:
resource- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principal
If specified, returns only the attachments for the given principal.
- Parameters:
principal- If specified, returns only the attachments for the given principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
default ListRlsPolicyAttachmentsRequest.Builder principal(Consumer<DataLakePrincipal.Builder> principal) If specified, returns only the attachments for the given principal.
This is a convenience method that creates an instance of theDataLakePrincipal.Builderavoiding the need to create one manually viaDataLakePrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(DataLakePrincipal).- Parameters:
principal- a consumer that will call methods onDataLakePrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyName
If specified, returns only the attachments for the row-level security policy with this name.
- Parameters:
policyName- If specified, returns only the attachments for the row-level security policy with this name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of attachments to return in a single response.
- Parameters:
maxResults- The maximum number of attachments to return in a single response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A continuation token, if this is a continuation call.
- Parameters:
nextToken- A continuation token, if this is a continuation call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListRlsPolicyAttachmentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListRlsPolicyAttachmentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-