Interface UpdateTemplatePermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTemplatePermissionsRequest.Builder,,UpdateTemplatePermissionsRequest> QuickSightRequest.Builder,SdkBuilder<UpdateTemplatePermissionsRequest.Builder,,UpdateTemplatePermissionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateTemplatePermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The ID of the Amazon Web Services account that contains the template.grantPermissions(Collection<ResourcePermission> grantPermissions) A list of resource permissions to be granted on the template.grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions) A list of resource permissions to be granted on the template.grantPermissions(ResourcePermission... grantPermissions) A list of resource permissions to be granted on the template.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.revokePermissions(Collection<ResourcePermission> revokePermissions) A list of resource permissions to be revoked from the template.revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions) A list of resource permissions to be revoked from the template.revokePermissions(ResourcePermission... revokePermissions) A list of resource permissions to be revoked from the template.templateId(String templateId) The ID for the template.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.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account that contains the template.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account that contains the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateId
The ID for the template.
- Parameters:
templateId- The ID for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateTemplatePermissionsRequest.Builder grantPermissions(Collection<ResourcePermission> grantPermissions) A list of resource permissions to be granted on the template.
- Parameters:
grantPermissions- A list of resource permissions to be granted on the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
A list of resource permissions to be granted on the template.
- Parameters:
grantPermissions- A list of resource permissions to be granted on the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
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.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tograntPermissions(List<ResourcePermission>).- Parameters:
grantPermissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revokePermissions
UpdateTemplatePermissionsRequest.Builder revokePermissions(Collection<ResourcePermission> revokePermissions) A list of resource permissions to be revoked from the template.
- Parameters:
revokePermissions- A list of resource permissions to be revoked from the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
A list of resource permissions to be revoked from the template.
- Parameters:
revokePermissions- A list of resource permissions to be revoked from the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
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.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevokePermissions(List<ResourcePermission>).- Parameters:
revokePermissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateTemplatePermissionsRequest.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
UpdateTemplatePermissionsRequest.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.
-