Struct aws_sdk_batch::operation::list_scheduling_policies::builders::ListSchedulingPoliciesOutputBuilder
source · #[non_exhaustive]pub struct ListSchedulingPoliciesOutputBuilder { /* private fields */ }
Expand description
A builder for ListSchedulingPoliciesOutput
.
Implementations§
source§impl ListSchedulingPoliciesOutputBuilder
impl ListSchedulingPoliciesOutputBuilder
sourcepub fn scheduling_policies(self, input: SchedulingPolicyListingDetail) -> Self
pub fn scheduling_policies(self, input: SchedulingPolicyListingDetail) -> Self
Appends an item to scheduling_policies
.
To override the contents of this collection use set_scheduling_policies
.
A list of scheduling policies that match the request.
sourcepub fn set_scheduling_policies(
self,
input: Option<Vec<SchedulingPolicyListingDetail>>
) -> Self
pub fn set_scheduling_policies( self, input: Option<Vec<SchedulingPolicyListingDetail>> ) -> Self
A list of scheduling policies that match the request.
sourcepub fn get_scheduling_policies(
&self
) -> &Option<Vec<SchedulingPolicyListingDetail>>
pub fn get_scheduling_policies( &self ) -> &Option<Vec<SchedulingPolicyListingDetail>>
A list of scheduling policies that match the request.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value to include in a future ListSchedulingPolicies
request. When the results of a ListSchedulingPolicies
request exceed maxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value to include in a future ListSchedulingPolicies
request. When the results of a ListSchedulingPolicies
request exceed maxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken
value to include in a future ListSchedulingPolicies
request. When the results of a ListSchedulingPolicies
request exceed maxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn build(self) -> ListSchedulingPoliciesOutput
pub fn build(self) -> ListSchedulingPoliciesOutput
Consumes the builder and constructs a ListSchedulingPoliciesOutput
.
Trait Implementations§
source§impl Clone for ListSchedulingPoliciesOutputBuilder
impl Clone for ListSchedulingPoliciesOutputBuilder
source§fn clone(&self) -> ListSchedulingPoliciesOutputBuilder
fn clone(&self) -> ListSchedulingPoliciesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListSchedulingPoliciesOutputBuilder
impl Default for ListSchedulingPoliciesOutputBuilder
source§fn default() -> ListSchedulingPoliciesOutputBuilder
fn default() -> ListSchedulingPoliciesOutputBuilder
source§impl PartialEq for ListSchedulingPoliciesOutputBuilder
impl PartialEq for ListSchedulingPoliciesOutputBuilder
source§fn eq(&self, other: &ListSchedulingPoliciesOutputBuilder) -> bool
fn eq(&self, other: &ListSchedulingPoliciesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListSchedulingPoliciesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListSchedulingPoliciesOutputBuilder
impl RefUnwindSafe for ListSchedulingPoliciesOutputBuilder
impl Send for ListSchedulingPoliciesOutputBuilder
impl Sync for ListSchedulingPoliciesOutputBuilder
impl Unpin for ListSchedulingPoliciesOutputBuilder
impl UnwindSafe for ListSchedulingPoliciesOutputBuilder
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
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>
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>
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 more