public static interface UpdateTemplatePermissionsRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<UpdateTemplatePermissionsRequest.Builder,UpdateTemplatePermissionsRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateTemplatePermissionsRequest.Builder awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the template.
awsAccountId
- The ID of the Amazon Web Services account that contains the template.UpdateTemplatePermissionsRequest.Builder templateId(String templateId)
The ID for the template.
templateId
- The ID for the template.UpdateTemplatePermissionsRequest.Builder grantPermissions(Collection<ResourcePermission> grantPermissions)
A list of resource permissions to be granted on the template.
grantPermissions
- A list of resource permissions to be granted on the template.UpdateTemplatePermissionsRequest.Builder grantPermissions(ResourcePermission... grantPermissions)
A list of resource permissions to be granted on the template.
grantPermissions
- A list of resource permissions to be granted on the template.UpdateTemplatePermissionsRequest.Builder grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions)
A list of resource permissions to be granted on the template.
This is a convenience method that creates an instance of theResourcePermission.Builder
avoiding the need to
create one manually via ResourcePermission.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #grantPermissions(List
.
grantPermissions
- a consumer that will call methods on
ResourcePermission.Builder
#grantPermissions(java.util.Collection)
UpdateTemplatePermissionsRequest.Builder revokePermissions(Collection<ResourcePermission> revokePermissions)
A list of resource permissions to be revoked from the template.
revokePermissions
- A list of resource permissions to be revoked from the template.UpdateTemplatePermissionsRequest.Builder revokePermissions(ResourcePermission... revokePermissions)
A list of resource permissions to be revoked from the template.
revokePermissions
- A list of resource permissions to be revoked from the template.UpdateTemplatePermissionsRequest.Builder revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions)
A list of resource permissions to be revoked from the template.
This is a convenience method that creates an instance of theResourcePermission.Builder
avoiding the need to
create one manually via ResourcePermission.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #revokePermissions(List
.
revokePermissions
- a consumer that will call methods on
ResourcePermission.Builder
#revokePermissions(java.util.Collection)
UpdateTemplatePermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateTemplatePermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.