Struct aws_sdk_iot::operation::list_policy_versions::builders::ListPolicyVersionsOutputBuilder
source · #[non_exhaustive]pub struct ListPolicyVersionsOutputBuilder { /* private fields */ }Expand description
A builder for ListPolicyVersionsOutput.
Implementations§
source§impl ListPolicyVersionsOutputBuilder
impl ListPolicyVersionsOutputBuilder
sourcepub fn policy_versions(self, input: PolicyVersion) -> Self
pub fn policy_versions(self, input: PolicyVersion) -> Self
Appends an item to policy_versions.
To override the contents of this collection use set_policy_versions.
The policy versions.
sourcepub fn set_policy_versions(self, input: Option<Vec<PolicyVersion>>) -> Self
pub fn set_policy_versions(self, input: Option<Vec<PolicyVersion>>) -> Self
The policy versions.
sourcepub fn get_policy_versions(&self) -> &Option<Vec<PolicyVersion>>
pub fn get_policy_versions(&self) -> &Option<Vec<PolicyVersion>>
The policy versions.
sourcepub fn build(self) -> ListPolicyVersionsOutput
pub fn build(self) -> ListPolicyVersionsOutput
Consumes the builder and constructs a ListPolicyVersionsOutput.
Trait Implementations§
source§impl Clone for ListPolicyVersionsOutputBuilder
impl Clone for ListPolicyVersionsOutputBuilder
source§fn clone(&self) -> ListPolicyVersionsOutputBuilder
fn clone(&self) -> ListPolicyVersionsOutputBuilder
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 ListPolicyVersionsOutputBuilder
impl Default for ListPolicyVersionsOutputBuilder
source§fn default() -> ListPolicyVersionsOutputBuilder
fn default() -> ListPolicyVersionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListPolicyVersionsOutputBuilder
impl PartialEq for ListPolicyVersionsOutputBuilder
source§fn eq(&self, other: &ListPolicyVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListPolicyVersionsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListPolicyVersionsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListPolicyVersionsOutputBuilder
impl Send for ListPolicyVersionsOutputBuilder
impl Sync for ListPolicyVersionsOutputBuilder
impl Unpin for ListPolicyVersionsOutputBuilder
impl UnwindSafe for ListPolicyVersionsOutputBuilder
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> 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>
Creates a shared type from an unshared type.