Interface UpdateTopicPermissionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTopicPermissionsRequest.Builder,UpdateTopicPermissionsRequest>
,QuickSightRequest.Builder
,SdkBuilder<UpdateTopicPermissionsRequest.Builder,UpdateTopicPermissionsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateTopicPermissionsRequest
public static interface UpdateTopicPermissionsRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<UpdateTopicPermissionsRequest.Builder,UpdateTopicPermissionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateTopicPermissionsRequest.Builder
awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.UpdateTopicPermissionsRequest.Builder
grantPermissions(Collection<ResourcePermission> grantPermissions)
The resource permissions that you want to grant to the topic.UpdateTopicPermissionsRequest.Builder
grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions)
The resource permissions that you want to grant to the topic.UpdateTopicPermissionsRequest.Builder
grantPermissions(ResourcePermission... grantPermissions)
The resource permissions that you want to grant to the topic.UpdateTopicPermissionsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateTopicPermissionsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateTopicPermissionsRequest.Builder
revokePermissions(Collection<ResourcePermission> revokePermissions)
The resource permissions that you want to revoke from the topic.UpdateTopicPermissionsRequest.Builder
revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions)
The resource permissions that you want to revoke from the topic.UpdateTopicPermissionsRequest.Builder
revokePermissions(ResourcePermission... revokePermissions)
The resource permissions that you want to revoke from the topic.UpdateTopicPermissionsRequest.Builder
topicId(String topicId)
The ID of the topic that you want to modify.-
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
UpdateTopicPermissionsRequest.Builder awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicId
UpdateTopicPermissionsRequest.Builder topicId(String topicId)
The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
- Parameters:
topicId
- The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateTopicPermissionsRequest.Builder grantPermissions(Collection<ResourcePermission> grantPermissions)
The resource permissions that you want to grant to the topic.
- Parameters:
grantPermissions
- The resource permissions that you want to grant to the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateTopicPermissionsRequest.Builder grantPermissions(ResourcePermission... grantPermissions)
The resource permissions that you want to grant to the topic.
- Parameters:
grantPermissions
- The resource permissions that you want to grant to the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateTopicPermissionsRequest.Builder grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions)
The resource permissions that you want to grant to the topic.
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
UpdateTopicPermissionsRequest.Builder revokePermissions(Collection<ResourcePermission> revokePermissions)
The resource permissions that you want to revoke from the topic.
- Parameters:
revokePermissions
- The resource permissions that you want to revoke from the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
UpdateTopicPermissionsRequest.Builder revokePermissions(ResourcePermission... revokePermissions)
The resource permissions that you want to revoke from the topic.
- Parameters:
revokePermissions
- The resource permissions that you want to revoke from the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
UpdateTopicPermissionsRequest.Builder revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions)
The resource permissions that you want to revoke from the topic.
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
UpdateTopicPermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTopicPermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-