Struct aws_sdk_snowball::operation::list_cluster_jobs::builders::ListClusterJobsInputBuilder
source · #[non_exhaustive]pub struct ListClusterJobsInputBuilder { /* private fields */ }
Expand description
A builder for ListClusterJobsInput
.
Implementations§
source§impl ListClusterJobsInputBuilder
impl ListClusterJobsInputBuilder
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The number of JobListEntry
objects to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The number of JobListEntry
objects to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The number of JobListEntry
objects to return.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry
objects, you have the option of specifying NextToken
as the starting point for your returned list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry
objects, you have the option of specifying NextToken
as the starting point for your returned list.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry
objects, you have the option of specifying NextToken
as the starting point for your returned list.
sourcepub fn build(self) -> Result<ListClusterJobsInput, BuildError>
pub fn build(self) -> Result<ListClusterJobsInput, BuildError>
Consumes the builder and constructs a ListClusterJobsInput
.
source§impl ListClusterJobsInputBuilder
impl ListClusterJobsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListClusterJobsOutput, SdkError<ListClusterJobsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListClusterJobsOutput, SdkError<ListClusterJobsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListClusterJobsInputBuilder
impl Clone for ListClusterJobsInputBuilder
source§fn clone(&self) -> ListClusterJobsInputBuilder
fn clone(&self) -> ListClusterJobsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListClusterJobsInputBuilder
impl Debug for ListClusterJobsInputBuilder
source§impl Default for ListClusterJobsInputBuilder
impl Default for ListClusterJobsInputBuilder
source§fn default() -> ListClusterJobsInputBuilder
fn default() -> ListClusterJobsInputBuilder
source§impl PartialEq for ListClusterJobsInputBuilder
impl PartialEq for ListClusterJobsInputBuilder
source§fn eq(&self, other: &ListClusterJobsInputBuilder) -> bool
fn eq(&self, other: &ListClusterJobsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.