Struct aws_sdk_m2::operation::list_batch_job_definitions::builders::ListBatchJobDefinitionsInputBuilder
source · #[non_exhaustive]pub struct ListBatchJobDefinitionsInputBuilder { /* private fields */ }Expand description
A builder for ListBatchJobDefinitionsInput.
Implementations§
source§impl ListBatchJobDefinitionsInputBuilder
impl ListBatchJobDefinitionsInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of batch job definitions to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of batch job definitions to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of batch job definitions to return.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The identifier of the application.
This field is required.sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The identifier of the application.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The identifier of the application.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.
sourcepub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.
sourcepub fn build(self) -> Result<ListBatchJobDefinitionsInput, BuildError>
pub fn build(self) -> Result<ListBatchJobDefinitionsInput, BuildError>
Consumes the builder and constructs a ListBatchJobDefinitionsInput.
source§impl ListBatchJobDefinitionsInputBuilder
impl ListBatchJobDefinitionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListBatchJobDefinitionsOutput, SdkError<ListBatchJobDefinitionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListBatchJobDefinitionsOutput, SdkError<ListBatchJobDefinitionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListBatchJobDefinitionsInputBuilder
impl Clone for ListBatchJobDefinitionsInputBuilder
source§fn clone(&self) -> ListBatchJobDefinitionsInputBuilder
fn clone(&self) -> ListBatchJobDefinitionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListBatchJobDefinitionsInputBuilder
impl Default for ListBatchJobDefinitionsInputBuilder
source§fn default() -> ListBatchJobDefinitionsInputBuilder
fn default() -> ListBatchJobDefinitionsInputBuilder
source§impl PartialEq for ListBatchJobDefinitionsInputBuilder
impl PartialEq for ListBatchJobDefinitionsInputBuilder
source§fn eq(&self, other: &ListBatchJobDefinitionsInputBuilder) -> bool
fn eq(&self, other: &ListBatchJobDefinitionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.