Struct aws_sdk_quicksight::operation::update_data_set_permissions::builders::UpdateDataSetPermissionsInputBuilder
source · #[non_exhaustive]pub struct UpdateDataSetPermissionsInputBuilder { /* private fields */ }Expand description
A builder for UpdateDataSetPermissionsInput.
Implementations§
source§impl UpdateDataSetPermissionsInputBuilder
impl UpdateDataSetPermissionsInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The Amazon Web Services account ID.
sourcepub fn data_set_id(self, input: impl Into<String>) -> Self
pub fn data_set_id(self, input: impl Into<String>) -> Self
The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn set_data_set_id(self, input: Option<String>) -> Self
pub fn set_data_set_id(self, input: Option<String>) -> Self
The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn get_data_set_id(&self) -> &Option<String>
pub fn get_data_set_id(&self) -> &Option<String>
The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn grant_permissions(self, input: ResourcePermission) -> Self
pub fn grant_permissions(self, input: ResourcePermission) -> Self
Appends an item to grant_permissions.
To override the contents of this collection use set_grant_permissions.
The resource permissions that you want to grant to the dataset.
sourcepub fn set_grant_permissions(
self,
input: Option<Vec<ResourcePermission>>
) -> Self
pub fn set_grant_permissions( self, input: Option<Vec<ResourcePermission>> ) -> Self
The resource permissions that you want to grant to the dataset.
sourcepub fn get_grant_permissions(&self) -> &Option<Vec<ResourcePermission>>
pub fn get_grant_permissions(&self) -> &Option<Vec<ResourcePermission>>
The resource permissions that you want to grant to the dataset.
sourcepub fn revoke_permissions(self, input: ResourcePermission) -> Self
pub fn revoke_permissions(self, input: ResourcePermission) -> Self
Appends an item to revoke_permissions.
To override the contents of this collection use set_revoke_permissions.
The resource permissions that you want to revoke from the dataset.
sourcepub fn set_revoke_permissions(
self,
input: Option<Vec<ResourcePermission>>
) -> Self
pub fn set_revoke_permissions( self, input: Option<Vec<ResourcePermission>> ) -> Self
The resource permissions that you want to revoke from the dataset.
sourcepub fn get_revoke_permissions(&self) -> &Option<Vec<ResourcePermission>>
pub fn get_revoke_permissions(&self) -> &Option<Vec<ResourcePermission>>
The resource permissions that you want to revoke from the dataset.
sourcepub fn build(self) -> Result<UpdateDataSetPermissionsInput, BuildError>
pub fn build(self) -> Result<UpdateDataSetPermissionsInput, BuildError>
Consumes the builder and constructs a UpdateDataSetPermissionsInput.
source§impl UpdateDataSetPermissionsInputBuilder
impl UpdateDataSetPermissionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDataSetPermissionsOutput, SdkError<UpdateDataSetPermissionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDataSetPermissionsOutput, SdkError<UpdateDataSetPermissionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDataSetPermissionsInputBuilder
impl Clone for UpdateDataSetPermissionsInputBuilder
source§fn clone(&self) -> UpdateDataSetPermissionsInputBuilder
fn clone(&self) -> UpdateDataSetPermissionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateDataSetPermissionsInputBuilder
impl Default for UpdateDataSetPermissionsInputBuilder
source§fn default() -> UpdateDataSetPermissionsInputBuilder
fn default() -> UpdateDataSetPermissionsInputBuilder
source§impl PartialEq<UpdateDataSetPermissionsInputBuilder> for UpdateDataSetPermissionsInputBuilder
impl PartialEq<UpdateDataSetPermissionsInputBuilder> for UpdateDataSetPermissionsInputBuilder
source§fn eq(&self, other: &UpdateDataSetPermissionsInputBuilder) -> bool
fn eq(&self, other: &UpdateDataSetPermissionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.