#[non_exhaustive]pub struct ListClustersInputBuilder { /* private fields */ }
Expand description
A builder for ListClustersInput
.
Implementations§
source§impl ListClustersInputBuilder
impl ListClustersInputBuilder
sourcepub fn creation_time_after(self, input: DateTime) -> Self
pub fn creation_time_after(self, input: DateTime) -> Self
Set a start time for the time range during which you want to list SageMaker HyperPod clusters. Timestamps are formatted according to the ISO 8601 standard.
Acceptable formats include:
-
YYYY-MM-DDThh:mm:ss.sssTZD
(UTC), for example,2014-10-01T20:30:00.000Z
-
YYYY-MM-DDThh:mm:ss.sssTZD
(with offset), for example,2014-10-01T12:30:00.000-08:00
-
YYYY-MM-DD
, for example,2014-10-01
-
Unix time in seconds, for example,
1412195400
. This is also referred to as Unix Epoch time and represents the number of seconds since midnight, January 1, 1970 UTC.
For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
sourcepub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
Set a start time for the time range during which you want to list SageMaker HyperPod clusters. Timestamps are formatted according to the ISO 8601 standard.
Acceptable formats include:
-
YYYY-MM-DDThh:mm:ss.sssTZD
(UTC), for example,2014-10-01T20:30:00.000Z
-
YYYY-MM-DDThh:mm:ss.sssTZD
(with offset), for example,2014-10-01T12:30:00.000-08:00
-
YYYY-MM-DD
, for example,2014-10-01
-
Unix time in seconds, for example,
1412195400
. This is also referred to as Unix Epoch time and represents the number of seconds since midnight, January 1, 1970 UTC.
For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
sourcepub fn get_creation_time_after(&self) -> &Option<DateTime>
pub fn get_creation_time_after(&self) -> &Option<DateTime>
Set a start time for the time range during which you want to list SageMaker HyperPod clusters. Timestamps are formatted according to the ISO 8601 standard.
Acceptable formats include:
-
YYYY-MM-DDThh:mm:ss.sssTZD
(UTC), for example,2014-10-01T20:30:00.000Z
-
YYYY-MM-DDThh:mm:ss.sssTZD
(with offset), for example,2014-10-01T12:30:00.000-08:00
-
YYYY-MM-DD
, for example,2014-10-01
-
Unix time in seconds, for example,
1412195400
. This is also referred to as Unix Epoch time and represents the number of seconds since midnight, January 1, 1970 UTC.
For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
sourcepub fn creation_time_before(self, input: DateTime) -> Self
pub fn creation_time_before(self, input: DateTime) -> Self
Set an end time for the time range during which you want to list SageMaker HyperPod clusters. A filter that returns nodes in a SageMaker HyperPod cluster created before the specified time. The acceptable formats are the same as the timestamp formats for CreationTimeAfter
. For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
sourcepub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
Set an end time for the time range during which you want to list SageMaker HyperPod clusters. A filter that returns nodes in a SageMaker HyperPod cluster created before the specified time. The acceptable formats are the same as the timestamp formats for CreationTimeAfter
. For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
sourcepub fn get_creation_time_before(&self) -> &Option<DateTime>
pub fn get_creation_time_before(&self) -> &Option<DateTime>
Set an end time for the time range during which you want to list SageMaker HyperPod clusters. A filter that returns nodes in a SageMaker HyperPod cluster created before the specified time. The acceptable formats are the same as the timestamp formats for CreationTimeAfter
. For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Set the maximum number of SageMaker HyperPod clusters to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Set the maximum number of SageMaker HyperPod clusters to list.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Set the maximum number of SageMaker HyperPod clusters to list.
sourcepub fn name_contains(self, input: impl Into<String>) -> Self
pub fn name_contains(self, input: impl Into<String>) -> Self
Set the maximum number of instances to print in the list.
sourcepub fn set_name_contains(self, input: Option<String>) -> Self
pub fn set_name_contains(self, input: Option<String>) -> Self
Set the maximum number of instances to print in the list.
sourcepub fn get_name_contains(&self) -> &Option<String>
pub fn get_name_contains(&self) -> &Option<String>
Set the maximum number of instances to print in the list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Set the next token to retrieve the list of SageMaker HyperPod clusters.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Set the next token to retrieve the list of SageMaker HyperPod clusters.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Set the next token to retrieve the list of SageMaker HyperPod clusters.
sourcepub fn sort_by(self, input: ClusterSortBy) -> Self
pub fn sort_by(self, input: ClusterSortBy) -> Self
The field by which to sort results. The default value is CREATION_TIME
.
sourcepub fn set_sort_by(self, input: Option<ClusterSortBy>) -> Self
pub fn set_sort_by(self, input: Option<ClusterSortBy>) -> Self
The field by which to sort results. The default value is CREATION_TIME
.
sourcepub fn get_sort_by(&self) -> &Option<ClusterSortBy>
pub fn get_sort_by(&self) -> &Option<ClusterSortBy>
The field by which to sort results. The default value is CREATION_TIME
.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The sort order for results. The default value is Ascending
.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The sort order for results. The default value is Ascending
.
sourcepub fn get_sort_order(&self) -> &Option<SortOrder>
pub fn get_sort_order(&self) -> &Option<SortOrder>
The sort order for results. The default value is Ascending
.
sourcepub fn build(self) -> Result<ListClustersInput, BuildError>
pub fn build(self) -> Result<ListClustersInput, BuildError>
Consumes the builder and constructs a ListClustersInput
.
source§impl ListClustersInputBuilder
impl ListClustersInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListClustersOutput, SdkError<ListClustersError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListClustersOutput, SdkError<ListClustersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListClustersInputBuilder
impl Clone for ListClustersInputBuilder
source§fn clone(&self) -> ListClustersInputBuilder
fn clone(&self) -> ListClustersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListClustersInputBuilder
impl Debug for ListClustersInputBuilder
source§impl Default for ListClustersInputBuilder
impl Default for ListClustersInputBuilder
source§fn default() -> ListClustersInputBuilder
fn default() -> ListClustersInputBuilder
source§impl PartialEq for ListClustersInputBuilder
impl PartialEq for ListClustersInputBuilder
source§fn eq(&self, other: &ListClustersInputBuilder) -> bool
fn eq(&self, other: &ListClustersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.