Struct aws_sdk_ssoadmin::operation::attach_managed_policy_to_permission_set::builders::AttachManagedPolicyToPermissionSetInputBuilder
source · #[non_exhaustive]pub struct AttachManagedPolicyToPermissionSetInputBuilder { /* private fields */ }Expand description
A builder for AttachManagedPolicyToPermissionSetInput.
Implementations§
source§impl AttachManagedPolicyToPermissionSetInputBuilder
impl AttachManagedPolicyToPermissionSetInputBuilder
sourcepub fn instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
This field is required.sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn get_instance_arn(&self) -> &Option<String>
pub fn get_instance_arn(&self) -> &Option<String>
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn permission_set_arn(self, input: impl Into<String>) -> Self
pub fn permission_set_arn(self, input: impl Into<String>) -> Self
The ARN of the PermissionSet that the managed policy should be attached to.
sourcepub fn set_permission_set_arn(self, input: Option<String>) -> Self
pub fn set_permission_set_arn(self, input: Option<String>) -> Self
The ARN of the PermissionSet that the managed policy should be attached to.
sourcepub fn get_permission_set_arn(&self) -> &Option<String>
pub fn get_permission_set_arn(&self) -> &Option<String>
The ARN of the PermissionSet that the managed policy should be attached to.
sourcepub fn managed_policy_arn(self, input: impl Into<String>) -> Self
pub fn managed_policy_arn(self, input: impl Into<String>) -> Self
The Amazon Web Services managed policy ARN to be attached to a permission set.
This field is required.sourcepub fn set_managed_policy_arn(self, input: Option<String>) -> Self
pub fn set_managed_policy_arn(self, input: Option<String>) -> Self
The Amazon Web Services managed policy ARN to be attached to a permission set.
sourcepub fn get_managed_policy_arn(&self) -> &Option<String>
pub fn get_managed_policy_arn(&self) -> &Option<String>
The Amazon Web Services managed policy ARN to be attached to a permission set.
sourcepub fn build(
self,
) -> Result<AttachManagedPolicyToPermissionSetInput, BuildError>
pub fn build( self, ) -> Result<AttachManagedPolicyToPermissionSetInput, BuildError>
Consumes the builder and constructs a AttachManagedPolicyToPermissionSetInput.
source§impl AttachManagedPolicyToPermissionSetInputBuilder
impl AttachManagedPolicyToPermissionSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AttachManagedPolicyToPermissionSetOutput, SdkError<AttachManagedPolicyToPermissionSetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AttachManagedPolicyToPermissionSetOutput, SdkError<AttachManagedPolicyToPermissionSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AttachManagedPolicyToPermissionSetInputBuilder
impl Clone for AttachManagedPolicyToPermissionSetInputBuilder
source§fn clone(&self) -> AttachManagedPolicyToPermissionSetInputBuilder
fn clone(&self) -> AttachManagedPolicyToPermissionSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AttachManagedPolicyToPermissionSetInputBuilder
impl Default for AttachManagedPolicyToPermissionSetInputBuilder
source§fn default() -> AttachManagedPolicyToPermissionSetInputBuilder
fn default() -> AttachManagedPolicyToPermissionSetInputBuilder
source§impl PartialEq for AttachManagedPolicyToPermissionSetInputBuilder
impl PartialEq for AttachManagedPolicyToPermissionSetInputBuilder
source§fn eq(&self, other: &AttachManagedPolicyToPermissionSetInputBuilder) -> bool
fn eq(&self, other: &AttachManagedPolicyToPermissionSetInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttachManagedPolicyToPermissionSetInputBuilder
Auto Trait Implementations§
impl Freeze for AttachManagedPolicyToPermissionSetInputBuilder
impl RefUnwindSafe for AttachManagedPolicyToPermissionSetInputBuilder
impl Send for AttachManagedPolicyToPermissionSetInputBuilder
impl Sync for AttachManagedPolicyToPermissionSetInputBuilder
impl Unpin for AttachManagedPolicyToPermissionSetInputBuilder
impl UnwindSafe for AttachManagedPolicyToPermissionSetInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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