Struct aws_sdk_quicksight::operation::update_analysis_permissions::builders::UpdateAnalysisPermissionsInputBuilder
source · #[non_exhaustive]pub struct UpdateAnalysisPermissionsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateAnalysisPermissionsInput
.
Implementations§
source§impl UpdateAnalysisPermissionsInputBuilder
impl UpdateAnalysisPermissionsInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
This field is required.sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
sourcepub fn analysis_id(self, input: impl Into<String>) -> Self
pub fn analysis_id(self, input: impl Into<String>) -> Self
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
This field is required.sourcepub fn set_analysis_id(self, input: Option<String>) -> Self
pub fn set_analysis_id(self, input: Option<String>) -> Self
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
sourcepub fn get_analysis_id(&self) -> &Option<String>
pub fn get_analysis_id(&self) -> &Option<String>
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
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
.
A structure that describes the permissions to add and the principal to add them to.
sourcepub fn set_grant_permissions(
self,
input: Option<Vec<ResourcePermission>>
) -> Self
pub fn set_grant_permissions( self, input: Option<Vec<ResourcePermission>> ) -> Self
A structure that describes the permissions to add and the principal to add them to.
sourcepub fn get_grant_permissions(&self) -> &Option<Vec<ResourcePermission>>
pub fn get_grant_permissions(&self) -> &Option<Vec<ResourcePermission>>
A structure that describes the permissions to add and the principal to add them to.
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
.
A structure that describes the permissions to remove and the principal to remove them from.
sourcepub fn set_revoke_permissions(
self,
input: Option<Vec<ResourcePermission>>
) -> Self
pub fn set_revoke_permissions( self, input: Option<Vec<ResourcePermission>> ) -> Self
A structure that describes the permissions to remove and the principal to remove them from.
sourcepub fn get_revoke_permissions(&self) -> &Option<Vec<ResourcePermission>>
pub fn get_revoke_permissions(&self) -> &Option<Vec<ResourcePermission>>
A structure that describes the permissions to remove and the principal to remove them from.
sourcepub fn build(self) -> Result<UpdateAnalysisPermissionsInput, BuildError>
pub fn build(self) -> Result<UpdateAnalysisPermissionsInput, BuildError>
Consumes the builder and constructs a UpdateAnalysisPermissionsInput
.
source§impl UpdateAnalysisPermissionsInputBuilder
impl UpdateAnalysisPermissionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAnalysisPermissionsOutput, SdkError<UpdateAnalysisPermissionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAnalysisPermissionsOutput, SdkError<UpdateAnalysisPermissionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAnalysisPermissionsInputBuilder
impl Clone for UpdateAnalysisPermissionsInputBuilder
source§fn clone(&self) -> UpdateAnalysisPermissionsInputBuilder
fn clone(&self) -> UpdateAnalysisPermissionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateAnalysisPermissionsInputBuilder
impl Default for UpdateAnalysisPermissionsInputBuilder
source§fn default() -> UpdateAnalysisPermissionsInputBuilder
fn default() -> UpdateAnalysisPermissionsInputBuilder
source§impl PartialEq for UpdateAnalysisPermissionsInputBuilder
impl PartialEq for UpdateAnalysisPermissionsInputBuilder
source§fn eq(&self, other: &UpdateAnalysisPermissionsInputBuilder) -> bool
fn eq(&self, other: &UpdateAnalysisPermissionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.