Struct aws_sdk_datasync::operation::list_discovery_jobs::builders::ListDiscoveryJobsOutputBuilder
source · #[non_exhaustive]pub struct ListDiscoveryJobsOutputBuilder { /* private fields */ }
Expand description
A builder for ListDiscoveryJobsOutput
.
Implementations§
source§impl ListDiscoveryJobsOutputBuilder
impl ListDiscoveryJobsOutputBuilder
sourcepub fn discovery_jobs(self, input: DiscoveryJobListEntry) -> Self
pub fn discovery_jobs(self, input: DiscoveryJobListEntry) -> Self
Appends an item to discovery_jobs
.
To override the contents of this collection use set_discovery_jobs
.
The discovery jobs that you've run.
sourcepub fn set_discovery_jobs(
self,
input: Option<Vec<DiscoveryJobListEntry>>
) -> Self
pub fn set_discovery_jobs( self, input: Option<Vec<DiscoveryJobListEntry>> ) -> Self
The discovery jobs that you've run.
sourcepub fn get_discovery_jobs(&self) -> &Option<Vec<DiscoveryJobListEntry>>
pub fn get_discovery_jobs(&self) -> &Option<Vec<DiscoveryJobListEntry>>
The discovery jobs that you've run.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The opaque string that indicates the position to begin the next list of results in the response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The opaque string that indicates the position to begin the next list of results in the response.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The opaque string that indicates the position to begin the next list of results in the response.
sourcepub fn build(self) -> ListDiscoveryJobsOutput
pub fn build(self) -> ListDiscoveryJobsOutput
Consumes the builder and constructs a ListDiscoveryJobsOutput
.
Trait Implementations§
source§impl Clone for ListDiscoveryJobsOutputBuilder
impl Clone for ListDiscoveryJobsOutputBuilder
source§fn clone(&self) -> ListDiscoveryJobsOutputBuilder
fn clone(&self) -> ListDiscoveryJobsOutputBuilder
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 ListDiscoveryJobsOutputBuilder
impl Default for ListDiscoveryJobsOutputBuilder
source§fn default() -> ListDiscoveryJobsOutputBuilder
fn default() -> ListDiscoveryJobsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListDiscoveryJobsOutputBuilder
impl PartialEq for ListDiscoveryJobsOutputBuilder
source§fn eq(&self, other: &ListDiscoveryJobsOutputBuilder) -> bool
fn eq(&self, other: &ListDiscoveryJobsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDiscoveryJobsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListDiscoveryJobsOutputBuilder
impl RefUnwindSafe for ListDiscoveryJobsOutputBuilder
impl Send for ListDiscoveryJobsOutputBuilder
impl Sync for ListDiscoveryJobsOutputBuilder
impl Unpin for ListDiscoveryJobsOutputBuilder
impl UnwindSafe for ListDiscoveryJobsOutputBuilder
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.