Struct aws_sdk_sagemaker::operation::list_cluster_nodes::builders::ListClusterNodesInputBuilder
source · #[non_exhaustive]pub struct ListClusterNodesInputBuilder { /* private fields */ }
Expand description
A builder for ListClusterNodesInput
.
Implementations§
source§impl ListClusterNodesInputBuilder
impl ListClusterNodesInputBuilder
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which you want to retrieve the list of nodes.
This field is required.sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which you want to retrieve the list of nodes.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which you want to retrieve the list of nodes.
sourcepub fn creation_time_after(self, input: DateTime) -> Self
pub fn creation_time_after(self, input: DateTime) -> Self
A filter that returns nodes in a SageMaker HyperPod cluster created after the specified time. 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
A filter that returns nodes in a SageMaker HyperPod cluster created after the specified time. 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>
A filter that returns nodes in a SageMaker HyperPod cluster created after the specified time. 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
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
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>
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 instance_group_name_contains(self, input: impl Into<String>) -> Self
pub fn instance_group_name_contains(self, input: impl Into<String>) -> Self
A filter that returns the instance groups whose name contain a specified string.
sourcepub fn set_instance_group_name_contains(self, input: Option<String>) -> Self
pub fn set_instance_group_name_contains(self, input: Option<String>) -> Self
A filter that returns the instance groups whose name contain a specified string.
sourcepub fn get_instance_group_name_contains(&self) -> &Option<String>
pub fn get_instance_group_name_contains(&self) -> &Option<String>
A filter that returns the instance groups whose name contain a specified string.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of nodes to return in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of nodes to return in the response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of nodes to return in the response.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the result of the previous ListClusterNodes
request was truncated, the response includes a NextToken
. To retrieve the next set of cluster nodes, use the token in the next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the result of the previous ListClusterNodes
request was truncated, the response includes a NextToken
. To retrieve the next set of cluster nodes, use the token in the next request.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the result of the previous ListClusterNodes
request was truncated, the response includes a NextToken
. To retrieve the next set of cluster nodes, use the token in the next request.
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<ListClusterNodesInput, BuildError>
pub fn build(self) -> Result<ListClusterNodesInput, BuildError>
Consumes the builder and constructs a ListClusterNodesInput
.
source§impl ListClusterNodesInputBuilder
impl ListClusterNodesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListClusterNodesOutput, SdkError<ListClusterNodesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListClusterNodesOutput, SdkError<ListClusterNodesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListClusterNodesInputBuilder
impl Clone for ListClusterNodesInputBuilder
source§fn clone(&self) -> ListClusterNodesInputBuilder
fn clone(&self) -> ListClusterNodesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListClusterNodesInputBuilder
impl Debug for ListClusterNodesInputBuilder
source§impl Default for ListClusterNodesInputBuilder
impl Default for ListClusterNodesInputBuilder
source§fn default() -> ListClusterNodesInputBuilder
fn default() -> ListClusterNodesInputBuilder
source§impl PartialEq for ListClusterNodesInputBuilder
impl PartialEq for ListClusterNodesInputBuilder
source§fn eq(&self, other: &ListClusterNodesInputBuilder) -> bool
fn eq(&self, other: &ListClusterNodesInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListClusterNodesInputBuilder
Auto Trait Implementations§
impl Freeze for ListClusterNodesInputBuilder
impl RefUnwindSafe for ListClusterNodesInputBuilder
impl Send for ListClusterNodesInputBuilder
impl Sync for ListClusterNodesInputBuilder
impl Unpin for ListClusterNodesInputBuilder
impl UnwindSafe for ListClusterNodesInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more