Struct aws_sdk_eks::types::builders::AssociatedAccessPolicyBuilder
source · #[non_exhaustive]pub struct AssociatedAccessPolicyBuilder { /* private fields */ }Expand description
A builder for AssociatedAccessPolicy.
Implementations§
source§impl AssociatedAccessPolicyBuilder
impl AssociatedAccessPolicyBuilder
sourcepub fn policy_arn(self, input: impl Into<String>) -> Self
pub fn policy_arn(self, input: impl Into<String>) -> Self
The ARN of the AccessPolicy.
sourcepub fn set_policy_arn(self, input: Option<String>) -> Self
pub fn set_policy_arn(self, input: Option<String>) -> Self
The ARN of the AccessPolicy.
sourcepub fn get_policy_arn(&self) -> &Option<String>
pub fn get_policy_arn(&self) -> &Option<String>
The ARN of the AccessPolicy.
sourcepub fn access_scope(self, input: AccessScope) -> Self
pub fn access_scope(self, input: AccessScope) -> Self
The scope of the access policy.
sourcepub fn set_access_scope(self, input: Option<AccessScope>) -> Self
pub fn set_access_scope(self, input: Option<AccessScope>) -> Self
The scope of the access policy.
sourcepub fn get_access_scope(&self) -> &Option<AccessScope>
pub fn get_access_scope(&self) -> &Option<AccessScope>
The scope of the access policy.
sourcepub fn associated_at(self, input: DateTime) -> Self
pub fn associated_at(self, input: DateTime) -> Self
The date and time the AccessPolicy was associated with an AccessEntry.
sourcepub fn set_associated_at(self, input: Option<DateTime>) -> Self
pub fn set_associated_at(self, input: Option<DateTime>) -> Self
The date and time the AccessPolicy was associated with an AccessEntry.
sourcepub fn get_associated_at(&self) -> &Option<DateTime>
pub fn get_associated_at(&self) -> &Option<DateTime>
The date and time the AccessPolicy was associated with an AccessEntry.
sourcepub fn modified_at(self, input: DateTime) -> Self
pub fn modified_at(self, input: DateTime) -> Self
The Unix epoch timestamp for the last modification to the object.
sourcepub fn set_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_modified_at(self, input: Option<DateTime>) -> Self
The Unix epoch timestamp for the last modification to the object.
sourcepub fn get_modified_at(&self) -> &Option<DateTime>
pub fn get_modified_at(&self) -> &Option<DateTime>
The Unix epoch timestamp for the last modification to the object.
sourcepub fn build(self) -> AssociatedAccessPolicy
pub fn build(self) -> AssociatedAccessPolicy
Consumes the builder and constructs a AssociatedAccessPolicy.
Trait Implementations§
source§impl Clone for AssociatedAccessPolicyBuilder
impl Clone for AssociatedAccessPolicyBuilder
source§fn clone(&self) -> AssociatedAccessPolicyBuilder
fn clone(&self) -> AssociatedAccessPolicyBuilder
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 Default for AssociatedAccessPolicyBuilder
impl Default for AssociatedAccessPolicyBuilder
source§fn default() -> AssociatedAccessPolicyBuilder
fn default() -> AssociatedAccessPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociatedAccessPolicyBuilder
impl PartialEq for AssociatedAccessPolicyBuilder
source§fn eq(&self, other: &AssociatedAccessPolicyBuilder) -> bool
fn eq(&self, other: &AssociatedAccessPolicyBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssociatedAccessPolicyBuilder
Auto Trait Implementations§
impl Freeze for AssociatedAccessPolicyBuilder
impl RefUnwindSafe for AssociatedAccessPolicyBuilder
impl Send for AssociatedAccessPolicyBuilder
impl Sync for AssociatedAccessPolicyBuilder
impl Unpin for AssociatedAccessPolicyBuilder
impl UnwindSafe for AssociatedAccessPolicyBuilder
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.