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 ==
.