Struct aws_sdk_quicksight::operation::delete_role_custom_permission::builders::DeleteRoleCustomPermissionInputBuilder
source · #[non_exhaustive]pub struct DeleteRoleCustomPermissionInputBuilder { /* private fields */ }
Expand description
A builder for DeleteRoleCustomPermissionInput
.
Implementations§
source§impl DeleteRoleCustomPermissionInputBuilder
impl DeleteRoleCustomPermissionInputBuilder
sourcepub fn role(self, input: Role) -> Self
pub fn role(self, input: Role) -> Self
The role that you want to remove permissions from.
This field is required.sourcepub fn set_role(self, input: Option<Role>) -> Self
pub fn set_role(self, input: Option<Role>) -> Self
The role that you want to remove permissions from.
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 the group is in. Currently, you use the ID for the 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 the group is in. Currently, you use the ID for the 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 the group is in. Currently, you use the ID for the 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 includes the role.
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 includes the role.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
The namespace that includes the role.
sourcepub fn build(self) -> Result<DeleteRoleCustomPermissionInput, BuildError>
pub fn build(self) -> Result<DeleteRoleCustomPermissionInput, BuildError>
Consumes the builder and constructs a DeleteRoleCustomPermissionInput
.
source§impl DeleteRoleCustomPermissionInputBuilder
impl DeleteRoleCustomPermissionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteRoleCustomPermissionOutput, SdkError<DeleteRoleCustomPermissionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteRoleCustomPermissionOutput, SdkError<DeleteRoleCustomPermissionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteRoleCustomPermissionInputBuilder
impl Clone for DeleteRoleCustomPermissionInputBuilder
source§fn clone(&self) -> DeleteRoleCustomPermissionInputBuilder
fn clone(&self) -> DeleteRoleCustomPermissionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteRoleCustomPermissionInputBuilder
impl Default for DeleteRoleCustomPermissionInputBuilder
source§fn default() -> DeleteRoleCustomPermissionInputBuilder
fn default() -> DeleteRoleCustomPermissionInputBuilder
source§impl PartialEq for DeleteRoleCustomPermissionInputBuilder
impl PartialEq for DeleteRoleCustomPermissionInputBuilder
source§fn eq(&self, other: &DeleteRoleCustomPermissionInputBuilder) -> bool
fn eq(&self, other: &DeleteRoleCustomPermissionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.