Struct aws_sdk_datazone::types::builders::PolicyGrantMemberBuilder
source · #[non_exhaustive]pub struct PolicyGrantMemberBuilder { /* private fields */ }Expand description
A builder for PolicyGrantMember.
Implementations§
source§impl PolicyGrantMemberBuilder
impl PolicyGrantMemberBuilder
sourcepub fn principal(self, input: PolicyGrantPrincipal) -> Self
pub fn principal(self, input: PolicyGrantPrincipal) -> Self
The principal of the policy grant member.
sourcepub fn set_principal(self, input: Option<PolicyGrantPrincipal>) -> Self
pub fn set_principal(self, input: Option<PolicyGrantPrincipal>) -> Self
The principal of the policy grant member.
sourcepub fn get_principal(&self) -> &Option<PolicyGrantPrincipal>
pub fn get_principal(&self) -> &Option<PolicyGrantPrincipal>
The principal of the policy grant member.
sourcepub fn detail(self, input: PolicyGrantDetail) -> Self
pub fn detail(self, input: PolicyGrantDetail) -> Self
The details of the policy grant member.
sourcepub fn set_detail(self, input: Option<PolicyGrantDetail>) -> Self
pub fn set_detail(self, input: Option<PolicyGrantDetail>) -> Self
The details of the policy grant member.
sourcepub fn get_detail(&self) -> &Option<PolicyGrantDetail>
pub fn get_detail(&self) -> &Option<PolicyGrantDetail>
The details of the policy grant member.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
Specifies the timestamp at which policy grant member was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
Specifies the timestamp at which policy grant member was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
Specifies the timestamp at which policy grant member was created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
Specifies the user who created the policy grant member.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
Specifies the user who created the policy grant member.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
Specifies the user who created the policy grant member.
sourcepub fn build(self) -> PolicyGrantMember
pub fn build(self) -> PolicyGrantMember
Consumes the builder and constructs a PolicyGrantMember.
Trait Implementations§
source§impl Clone for PolicyGrantMemberBuilder
impl Clone for PolicyGrantMemberBuilder
source§fn clone(&self) -> PolicyGrantMemberBuilder
fn clone(&self) -> PolicyGrantMemberBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PolicyGrantMemberBuilder
impl Debug for PolicyGrantMemberBuilder
source§impl Default for PolicyGrantMemberBuilder
impl Default for PolicyGrantMemberBuilder
source§fn default() -> PolicyGrantMemberBuilder
fn default() -> PolicyGrantMemberBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PolicyGrantMemberBuilder
impl PartialEq for PolicyGrantMemberBuilder
impl StructuralPartialEq for PolicyGrantMemberBuilder
Auto Trait Implementations§
impl Freeze for PolicyGrantMemberBuilder
impl RefUnwindSafe for PolicyGrantMemberBuilder
impl Send for PolicyGrantMemberBuilder
impl Sync for PolicyGrantMemberBuilder
impl Unpin for PolicyGrantMemberBuilder
impl UnwindSafe for PolicyGrantMemberBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.