Struct aws_sdk_connect::operation::list_approved_origins::builders::ListApprovedOriginsOutputBuilder
source · #[non_exhaustive]pub struct ListApprovedOriginsOutputBuilder { /* private fields */ }
Expand description
A builder for ListApprovedOriginsOutput
.
Implementations§
source§impl ListApprovedOriginsOutputBuilder
impl ListApprovedOriginsOutputBuilder
sourcepub fn origins(self, input: impl Into<String>) -> Self
pub fn origins(self, input: impl Into<String>) -> Self
Appends an item to origins
.
To override the contents of this collection use set_origins
.
The approved origins.
sourcepub fn set_origins(self, input: Option<Vec<String>>) -> Self
pub fn set_origins(self, input: Option<Vec<String>>) -> Self
The approved origins.
sourcepub fn get_origins(&self) -> &Option<Vec<String>>
pub fn get_origins(&self) -> &Option<Vec<String>>
The approved origins.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are additional results, this is the token for the next set of results.
sourcepub fn build(self) -> ListApprovedOriginsOutput
pub fn build(self) -> ListApprovedOriginsOutput
Consumes the builder and constructs a ListApprovedOriginsOutput
.
Trait Implementations§
source§impl Clone for ListApprovedOriginsOutputBuilder
impl Clone for ListApprovedOriginsOutputBuilder
source§fn clone(&self) -> ListApprovedOriginsOutputBuilder
fn clone(&self) -> ListApprovedOriginsOutputBuilder
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 ListApprovedOriginsOutputBuilder
impl Default for ListApprovedOriginsOutputBuilder
source§fn default() -> ListApprovedOriginsOutputBuilder
fn default() -> ListApprovedOriginsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ListApprovedOriginsOutputBuilder> for ListApprovedOriginsOutputBuilder
impl PartialEq<ListApprovedOriginsOutputBuilder> for ListApprovedOriginsOutputBuilder
source§fn eq(&self, other: &ListApprovedOriginsOutputBuilder) -> bool
fn eq(&self, other: &ListApprovedOriginsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListApprovedOriginsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListApprovedOriginsOutputBuilder
impl Send for ListApprovedOriginsOutputBuilder
impl Sync for ListApprovedOriginsOutputBuilder
impl Unpin for ListApprovedOriginsOutputBuilder
impl UnwindSafe for ListApprovedOriginsOutputBuilder
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