Interface UpdateAppPermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAppPermissionsRequest.Builder,,UpdateAppPermissionsRequest> QuickSightRequest.Builder,SdkBuilder<UpdateAppPermissionsRequest.Builder,,UpdateAppPermissionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAppPermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app.awsAccountId(String awsAccountId) The ID of the Amazon Web Services account that contains the app.grantPermissions(Collection<ResourcePermission> grantPermissions) The permissions that you want to grant on the app.grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions) The permissions that you want to grant on the app.grantPermissions(ResourcePermission... grantPermissions) The permissions that you want to grant on the app.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.revokePermissions(Collection<ResourcePermission> revokePermissions) The permissions that you want to revoke from the app.revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions) The permissions that you want to revoke from the app.revokePermissions(ResourcePermission... revokePermissions) The permissions that you want to revoke from the app.visibility(String visibility) The visibility to set for the app.visibility(AppVisibility visibility) The visibility to set for the app.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, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account that contains the app.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account that contains the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appId
The ID of the app.
- Parameters:
appId- The ID of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateAppPermissionsRequest.Builder grantPermissions(Collection<ResourcePermission> grantPermissions) The permissions that you want to grant on the app.
- Parameters:
grantPermissions- The permissions that you want to grant on the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
The permissions that you want to grant on the app.
- Parameters:
grantPermissions- The permissions that you want to grant on the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateAppPermissionsRequest.Builder grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions) The permissions that you want to grant on the app.
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
UpdateAppPermissionsRequest.Builder revokePermissions(Collection<ResourcePermission> revokePermissions) The permissions that you want to revoke from the app.
- Parameters:
revokePermissions- The permissions that you want to revoke from the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
The permissions that you want to revoke from the app.
- Parameters:
revokePermissions- The permissions that you want to revoke from the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
UpdateAppPermissionsRequest.Builder revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions) The permissions that you want to revoke from the app.
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:
-
visibility
The visibility to set for the app. Currently, only
PRIVATEis accepted, which removes public (anonymous) access from the app. If you don't specify a value, the app's visibility is unchanged. Setting an app toPUBLICthrough this operation is not supported.- Parameters:
visibility- The visibility to set for the app. Currently, onlyPRIVATEis accepted, which removes public (anonymous) access from the app. If you don't specify a value, the app's visibility is unchanged. Setting an app toPUBLICthrough this operation is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visibility
The visibility to set for the app. Currently, only
PRIVATEis accepted, which removes public (anonymous) access from the app. If you don't specify a value, the app's visibility is unchanged. Setting an app toPUBLICthrough this operation is not supported.- Parameters:
visibility- The visibility to set for the app. Currently, onlyPRIVATEis accepted, which removes public (anonymous) access from the app. If you don't specify a value, the app's visibility is unchanged. Setting an app toPUBLICthrough this operation is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAppPermissionsRequest.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
UpdateAppPermissionsRequest.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.
-