Struct aws_sdk_sts::types::builders::PolicyDescriptorTypeBuilder
source · #[non_exhaustive]pub struct PolicyDescriptorTypeBuilder { /* private fields */ }
Expand description
A builder for PolicyDescriptorType
.
Implementations§
source§impl PolicyDescriptorTypeBuilder
impl PolicyDescriptorTypeBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. 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 set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. 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_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. 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 build(self) -> PolicyDescriptorType
pub fn build(self) -> PolicyDescriptorType
Consumes the builder and constructs a PolicyDescriptorType
.
Trait Implementations§
source§impl Clone for PolicyDescriptorTypeBuilder
impl Clone for PolicyDescriptorTypeBuilder
source§fn clone(&self) -> PolicyDescriptorTypeBuilder
fn clone(&self) -> PolicyDescriptorTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PolicyDescriptorTypeBuilder
impl Debug for PolicyDescriptorTypeBuilder
source§impl Default for PolicyDescriptorTypeBuilder
impl Default for PolicyDescriptorTypeBuilder
source§fn default() -> PolicyDescriptorTypeBuilder
fn default() -> PolicyDescriptorTypeBuilder
source§impl PartialEq for PolicyDescriptorTypeBuilder
impl PartialEq for PolicyDescriptorTypeBuilder
source§fn eq(&self, other: &PolicyDescriptorTypeBuilder) -> bool
fn eq(&self, other: &PolicyDescriptorTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.