Struct aws_sdk_quicksight::operation::update_role_custom_permission::builders::UpdateRoleCustomPermissionInputBuilder
source · #[non_exhaustive]pub struct UpdateRoleCustomPermissionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRoleCustomPermissionInput
.
Implementations§
source§impl UpdateRoleCustomPermissionInputBuilder
impl UpdateRoleCustomPermissionInputBuilder
sourcepub fn custom_permissions_name(self, input: impl Into<String>) -> Self
pub fn custom_permissions_name(self, input: impl Into<String>) -> Self
The name of the custom permission that you want to update the role with.
This field is required.sourcepub fn set_custom_permissions_name(self, input: Option<String>) -> Self
pub fn set_custom_permissions_name(self, input: Option<String>) -> Self
The name of the custom permission that you want to update the role with.
sourcepub fn get_custom_permissions_name(&self) -> &Option<String>
pub fn get_custom_permissions_name(&self) -> &Option<String>
The name of the custom permission that you want to update the role with.
sourcepub fn role(self, input: Role) -> Self
pub fn role(self, input: Role) -> Self
The name of role tht you want to update.
This field is required.sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
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 for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
sourcepub fn namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
The namespace that contains the role that you want to update.
This field is required.sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The namespace that contains the role that you want to update.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
The namespace that contains the role that you want to update.
sourcepub fn build(self) -> Result<UpdateRoleCustomPermissionInput, BuildError>
pub fn build(self) -> Result<UpdateRoleCustomPermissionInput, BuildError>
Consumes the builder and constructs a UpdateRoleCustomPermissionInput
.
source§impl UpdateRoleCustomPermissionInputBuilder
impl UpdateRoleCustomPermissionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRoleCustomPermissionOutput, SdkError<UpdateRoleCustomPermissionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRoleCustomPermissionOutput, SdkError<UpdateRoleCustomPermissionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRoleCustomPermissionInputBuilder
impl Clone for UpdateRoleCustomPermissionInputBuilder
source§fn clone(&self) -> UpdateRoleCustomPermissionInputBuilder
fn clone(&self) -> UpdateRoleCustomPermissionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateRoleCustomPermissionInputBuilder
impl Default for UpdateRoleCustomPermissionInputBuilder
source§fn default() -> UpdateRoleCustomPermissionInputBuilder
fn default() -> UpdateRoleCustomPermissionInputBuilder
source§impl PartialEq for UpdateRoleCustomPermissionInputBuilder
impl PartialEq for UpdateRoleCustomPermissionInputBuilder
source§fn eq(&self, other: &UpdateRoleCustomPermissionInputBuilder) -> bool
fn eq(&self, other: &UpdateRoleCustomPermissionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRoleCustomPermissionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRoleCustomPermissionInputBuilder
impl RefUnwindSafe for UpdateRoleCustomPermissionInputBuilder
impl Send for UpdateRoleCustomPermissionInputBuilder
impl Sync for UpdateRoleCustomPermissionInputBuilder
impl Unpin for UpdateRoleCustomPermissionInputBuilder
impl UnwindSafe for UpdateRoleCustomPermissionInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more