Struct aws_sdk_m2::operation::list_batch_job_definitions::builders::ListBatchJobDefinitionsOutputBuilder
source · #[non_exhaustive]pub struct ListBatchJobDefinitionsOutputBuilder { /* private fields */ }Expand description
A builder for ListBatchJobDefinitionsOutput.
Implementations§
source§impl ListBatchJobDefinitionsOutputBuilder
impl ListBatchJobDefinitionsOutputBuilder
sourcepub fn batch_job_definitions(self, input: BatchJobDefinition) -> Self
pub fn batch_job_definitions(self, input: BatchJobDefinition) -> Self
Appends an item to batch_job_definitions.
To override the contents of this collection use set_batch_job_definitions.
The list of batch job definitions.
sourcepub fn set_batch_job_definitions(
self,
input: Option<Vec<BatchJobDefinition>>
) -> Self
pub fn set_batch_job_definitions( self, input: Option<Vec<BatchJobDefinition>> ) -> Self
The list of batch job definitions.
sourcepub fn get_batch_job_definitions(&self) -> &Option<Vec<BatchJobDefinition>>
pub fn get_batch_job_definitions(&self) -> &Option<Vec<BatchJobDefinition>>
The list of batch job definitions.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
sourcepub fn build(self) -> Result<ListBatchJobDefinitionsOutput, BuildError>
pub fn build(self) -> Result<ListBatchJobDefinitionsOutput, BuildError>
Consumes the builder and constructs a ListBatchJobDefinitionsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListBatchJobDefinitionsOutputBuilder
impl Clone for ListBatchJobDefinitionsOutputBuilder
source§fn clone(&self) -> ListBatchJobDefinitionsOutputBuilder
fn clone(&self) -> ListBatchJobDefinitionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListBatchJobDefinitionsOutputBuilder
impl Default for ListBatchJobDefinitionsOutputBuilder
source§fn default() -> ListBatchJobDefinitionsOutputBuilder
fn default() -> ListBatchJobDefinitionsOutputBuilder
source§impl PartialEq for ListBatchJobDefinitionsOutputBuilder
impl PartialEq for ListBatchJobDefinitionsOutputBuilder
source§fn eq(&self, other: &ListBatchJobDefinitionsOutputBuilder) -> bool
fn eq(&self, other: &ListBatchJobDefinitionsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.