Struct aws_sdk_quicksight::operation::create_iam_policy_assignment::builders::CreateIamPolicyAssignmentOutputBuilder
source · #[non_exhaustive]pub struct CreateIamPolicyAssignmentOutputBuilder { /* private fields */ }
Expand description
A builder for CreateIamPolicyAssignmentOutput
.
Implementations§
source§impl CreateIamPolicyAssignmentOutputBuilder
impl CreateIamPolicyAssignmentOutputBuilder
sourcepub fn assignment_name(self, input: impl Into<String>) -> Self
pub fn assignment_name(self, input: impl Into<String>) -> Self
The name of the assignment. The name must be unique within the Amazon Web Services account.
sourcepub fn set_assignment_name(self, input: Option<String>) -> Self
pub fn set_assignment_name(self, input: Option<String>) -> Self
The name of the assignment. The name must be unique within the Amazon Web Services account.
sourcepub fn get_assignment_name(&self) -> &Option<String>
pub fn get_assignment_name(&self) -> &Option<String>
The name of the assignment. The name must be unique within the Amazon Web Services account.
sourcepub fn assignment_id(self, input: impl Into<String>) -> Self
pub fn assignment_id(self, input: impl Into<String>) -> Self
The ID for the assignment.
sourcepub fn set_assignment_id(self, input: Option<String>) -> Self
pub fn set_assignment_id(self, input: Option<String>) -> Self
The ID for the assignment.
sourcepub fn get_assignment_id(&self) -> &Option<String>
pub fn get_assignment_id(&self) -> &Option<String>
The ID for the assignment.
sourcepub fn assignment_status(self, input: AssignmentStatus) -> Self
pub fn assignment_status(self, input: AssignmentStatus) -> Self
The status of the assignment. Possible values are as follows:
-
ENABLED
- Anything specified in this assignment is used when creating the data source. -
DISABLED
- This assignment isn't used when creating the data source. -
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
sourcepub fn set_assignment_status(self, input: Option<AssignmentStatus>) -> Self
pub fn set_assignment_status(self, input: Option<AssignmentStatus>) -> Self
The status of the assignment. Possible values are as follows:
-
ENABLED
- Anything specified in this assignment is used when creating the data source. -
DISABLED
- This assignment isn't used when creating the data source. -
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
sourcepub fn get_assignment_status(&self) -> &Option<AssignmentStatus>
pub fn get_assignment_status(&self) -> &Option<AssignmentStatus>
The status of the assignment. Possible values are as follows:
-
ENABLED
- Anything specified in this assignment is used when creating the data source. -
DISABLED
- This assignment isn't used when creating the data source. -
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
sourcepub fn policy_arn(self, input: impl Into<String>) -> Self
pub fn policy_arn(self, input: impl Into<String>) -> Self
The ARN for the IAM policy that is applied to the Amazon QuickSight users and groups specified in this assignment.
sourcepub fn set_policy_arn(self, input: Option<String>) -> Self
pub fn set_policy_arn(self, input: Option<String>) -> Self
The ARN for the IAM policy that is applied to the Amazon QuickSight users and groups specified in this assignment.
sourcepub fn get_policy_arn(&self) -> &Option<String>
pub fn get_policy_arn(&self) -> &Option<String>
The ARN for the IAM policy that is applied to the Amazon QuickSight users and groups specified in this assignment.
sourcepub fn identities(self, k: impl Into<String>, v: Vec<String>) -> Self
pub fn identities(self, k: impl Into<String>, v: Vec<String>) -> Self
Adds a key-value pair to identities
.
To override the contents of this collection use set_identities
.
The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.
sourcepub fn set_identities(self, input: Option<HashMap<String, Vec<String>>>) -> Self
pub fn set_identities(self, input: Option<HashMap<String, Vec<String>>>) -> Self
The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.
sourcepub fn get_identities(&self) -> &Option<HashMap<String, Vec<String>>>
pub fn get_identities(&self) -> &Option<HashMap<String, Vec<String>>>
The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.
sourcepub fn request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
The Amazon Web Services request ID for this operation.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
The Amazon Web Services request ID for this operation.
sourcepub fn get_request_id(&self) -> &Option<String>
pub fn get_request_id(&self) -> &Option<String>
The Amazon Web Services request ID for this operation.
sourcepub fn set_status(self, input: Option<i32>) -> Self
pub fn set_status(self, input: Option<i32>) -> Self
The HTTP status of the request.
sourcepub fn get_status(&self) -> &Option<i32>
pub fn get_status(&self) -> &Option<i32>
The HTTP status of the request.
sourcepub fn build(self) -> CreateIamPolicyAssignmentOutput
pub fn build(self) -> CreateIamPolicyAssignmentOutput
Consumes the builder and constructs a CreateIamPolicyAssignmentOutput
.
Trait Implementations§
source§impl Clone for CreateIamPolicyAssignmentOutputBuilder
impl Clone for CreateIamPolicyAssignmentOutputBuilder
source§fn clone(&self) -> CreateIamPolicyAssignmentOutputBuilder
fn clone(&self) -> CreateIamPolicyAssignmentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateIamPolicyAssignmentOutputBuilder
impl Default for CreateIamPolicyAssignmentOutputBuilder
source§fn default() -> CreateIamPolicyAssignmentOutputBuilder
fn default() -> CreateIamPolicyAssignmentOutputBuilder
source§impl PartialEq for CreateIamPolicyAssignmentOutputBuilder
impl PartialEq for CreateIamPolicyAssignmentOutputBuilder
source§fn eq(&self, other: &CreateIamPolicyAssignmentOutputBuilder) -> bool
fn eq(&self, other: &CreateIamPolicyAssignmentOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.