#[non_exhaustive]pub struct AccessPolicySummaryBuilder { /* private fields */ }
Expand description
A builder for AccessPolicySummary
.
Implementations§
source§impl AccessPolicySummaryBuilder
impl AccessPolicySummaryBuilder
sourcepub fn type(self, input: AccessPolicyType) -> Self
pub fn type(self, input: AccessPolicyType) -> Self
The type of access policy. Currently the only available type is data
.
sourcepub fn set_type(self, input: Option<AccessPolicyType>) -> Self
pub fn set_type(self, input: Option<AccessPolicyType>) -> Self
The type of access policy. Currently the only available type is data
.
sourcepub fn policy_version(self, input: impl Into<String>) -> Self
pub fn policy_version(self, input: impl Into<String>) -> Self
The version of the policy.
sourcepub fn set_policy_version(self, input: Option<String>) -> Self
pub fn set_policy_version(self, input: Option<String>) -> Self
The version of the policy.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the access policy.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the access policy.
sourcepub fn created_date(self, input: i64) -> Self
pub fn created_date(self, input: i64) -> Self
The Epoch time when the access policy was created.
sourcepub fn set_created_date(self, input: Option<i64>) -> Self
pub fn set_created_date(self, input: Option<i64>) -> Self
The Epoch time when the access policy was created.
sourcepub fn last_modified_date(self, input: i64) -> Self
pub fn last_modified_date(self, input: i64) -> Self
The date and time when the collection was last modified.
sourcepub fn set_last_modified_date(self, input: Option<i64>) -> Self
pub fn set_last_modified_date(self, input: Option<i64>) -> Self
The date and time when the collection was last modified.
sourcepub fn build(self) -> AccessPolicySummary
pub fn build(self) -> AccessPolicySummary
Consumes the builder and constructs a AccessPolicySummary
.
Trait Implementations§
source§impl Clone for AccessPolicySummaryBuilder
impl Clone for AccessPolicySummaryBuilder
source§fn clone(&self) -> AccessPolicySummaryBuilder
fn clone(&self) -> AccessPolicySummaryBuilder
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 AccessPolicySummaryBuilder
impl Debug for AccessPolicySummaryBuilder
source§impl Default for AccessPolicySummaryBuilder
impl Default for AccessPolicySummaryBuilder
source§fn default() -> AccessPolicySummaryBuilder
fn default() -> AccessPolicySummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AccessPolicySummaryBuilder> for AccessPolicySummaryBuilder
impl PartialEq<AccessPolicySummaryBuilder> for AccessPolicySummaryBuilder
source§fn eq(&self, other: &AccessPolicySummaryBuilder) -> bool
fn eq(&self, other: &AccessPolicySummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccessPolicySummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AccessPolicySummaryBuilder
impl Send for AccessPolicySummaryBuilder
impl Sync for AccessPolicySummaryBuilder
impl Unpin for AccessPolicySummaryBuilder
impl UnwindSafe for AccessPolicySummaryBuilder
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