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
source§fn eq(&self, other: &ClusterIamRoleBuilder) -> bool
fn eq(&self, other: &ClusterIamRoleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.