Interface UpdateTemplatePermissionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTemplatePermissionsRequest.Builder,UpdateTemplatePermissionsRequest>
,QuickSightRequest.Builder
,SdkBuilder<UpdateTemplatePermissionsRequest.Builder,UpdateTemplatePermissionsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateTemplatePermissionsRequest
public static interface UpdateTemplatePermissionsRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<UpdateTemplatePermissionsRequest.Builder,UpdateTemplatePermissionsRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
awsAccountId
UpdateTemplatePermissionsRequest.Builder awsAccountId(String 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
UpdateTemplatePermissionsRequest.Builder templateId(String 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
UpdateTemplatePermissionsRequest.Builder grantPermissions(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
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 viaResourcePermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#grantPermissions(List
.) - 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:
#grantPermissions(java.util.Collection
)
-
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
UpdateTemplatePermissionsRequest.Builder revokePermissions(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
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 viaResourcePermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#revokePermissions(List
.) - 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:
#revokePermissions(java.util.Collection
)
-
overrideConfiguration
UpdateTemplatePermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTemplatePermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-