Struct aws_sdk_transfer::operation::list_certificates::builders::ListCertificatesOutputBuilder
source · #[non_exhaustive]pub struct ListCertificatesOutputBuilder { /* private fields */ }
Expand description
A builder for ListCertificatesOutput
.
Implementations§
source§impl ListCertificatesOutputBuilder
impl ListCertificatesOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Returns the next token, which you can use to list the next certificate.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Returns the next token, which you can use to list the next certificate.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Returns the next token, which you can use to list the next certificate.
sourcepub fn certificates(self, input: ListedCertificate) -> Self
pub fn certificates(self, input: ListedCertificate) -> Self
Appends an item to certificates
.
To override the contents of this collection use set_certificates
.
Returns an array of the certificates that are specified in the ListCertificates
call.
sourcepub fn set_certificates(self, input: Option<Vec<ListedCertificate>>) -> Self
pub fn set_certificates(self, input: Option<Vec<ListedCertificate>>) -> Self
Returns an array of the certificates that are specified in the ListCertificates
call.
sourcepub fn get_certificates(&self) -> &Option<Vec<ListedCertificate>>
pub fn get_certificates(&self) -> &Option<Vec<ListedCertificate>>
Returns an array of the certificates that are specified in the ListCertificates
call.
sourcepub fn build(self) -> Result<ListCertificatesOutput, BuildError>
pub fn build(self) -> Result<ListCertificatesOutput, BuildError>
Consumes the builder and constructs a ListCertificatesOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListCertificatesOutputBuilder
impl Clone for ListCertificatesOutputBuilder
source§fn clone(&self) -> ListCertificatesOutputBuilder
fn clone(&self) -> ListCertificatesOutputBuilder
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 ListCertificatesOutputBuilder
impl Default for ListCertificatesOutputBuilder
source§fn default() -> ListCertificatesOutputBuilder
fn default() -> ListCertificatesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListCertificatesOutputBuilder
impl PartialEq for ListCertificatesOutputBuilder
source§fn eq(&self, other: &ListCertificatesOutputBuilder) -> bool
fn eq(&self, other: &ListCertificatesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCertificatesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListCertificatesOutputBuilder
impl RefUnwindSafe for ListCertificatesOutputBuilder
impl Send for ListCertificatesOutputBuilder
impl Sync for ListCertificatesOutputBuilder
impl Unpin for ListCertificatesOutputBuilder
impl UnwindSafe for ListCertificatesOutputBuilder
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>
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.