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