Struct aws_sdk_redshift::types::builders::ClusterIamRoleBuilder
source · #[non_exhaustive]pub struct ClusterIamRoleBuilder { /* private fields */ }Expand description
A builder for ClusterIamRole.
Implementations§
source§impl ClusterIamRoleBuilder
impl ClusterIamRoleBuilder
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role, for example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role, for example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.
sourcepub fn get_iam_role_arn(&self) -> &Option<String>
pub fn get_iam_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role, for example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.
sourcepub fn apply_status(self, input: impl Into<String>) -> Self
pub fn apply_status(self, input: impl Into<String>) -> Self
A value that describes the status of the IAM role's association with an Amazon Redshift cluster.
The following are possible statuses and descriptions.
-
in-sync: The role is available for use by the cluster. -
adding: The role is in the process of being associated with the cluster. -
removing: The role is in the process of being disassociated with the cluster.
sourcepub fn set_apply_status(self, input: Option<String>) -> Self
pub fn set_apply_status(self, input: Option<String>) -> Self
A value that describes the status of the IAM role's association with an Amazon Redshift cluster.
The following are possible statuses and descriptions.
-
in-sync: The role is available for use by the cluster. -
adding: The role is in the process of being associated with the cluster. -
removing: The role is in the process of being disassociated with the cluster.
sourcepub fn get_apply_status(&self) -> &Option<String>
pub fn get_apply_status(&self) -> &Option<String>
A value that describes the status of the IAM role's association with an Amazon Redshift cluster.
The following are possible statuses and descriptions.
-
in-sync: The role is available for use by the cluster. -
adding: The role is in the process of being associated with the cluster. -
removing: The role is in the process of being disassociated with the cluster.
sourcepub fn build(self) -> ClusterIamRole
pub fn build(self) -> ClusterIamRole
Consumes the builder and constructs a ClusterIamRole.
Trait Implementations§
source§impl Clone for ClusterIamRoleBuilder
impl Clone for ClusterIamRoleBuilder
source§fn clone(&self) -> ClusterIamRoleBuilder
fn clone(&self) -> ClusterIamRoleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ClusterIamRoleBuilder
impl Debug for ClusterIamRoleBuilder
source§impl Default for ClusterIamRoleBuilder
impl Default for ClusterIamRoleBuilder
source§fn default() -> ClusterIamRoleBuilder
fn default() -> ClusterIamRoleBuilder
source§impl PartialEq for ClusterIamRoleBuilder
impl PartialEq for ClusterIamRoleBuilder
impl StructuralPartialEq for ClusterIamRoleBuilder
Auto Trait Implementations§
impl Freeze for ClusterIamRoleBuilder
impl RefUnwindSafe for ClusterIamRoleBuilder
impl Send for ClusterIamRoleBuilder
impl Sync for ClusterIamRoleBuilder
impl Unpin for ClusterIamRoleBuilder
impl UnwindSafe for ClusterIamRoleBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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