Interface ListClustersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>
,SageMakerRequest.Builder
,SdkBuilder<ListClustersRequest.Builder,ListClustersRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ListClustersRequest
public static interface ListClustersRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListClustersRequest.Builder
creationTimeAfter(Instant creationTimeAfter)
Set a start time for the time range during which you want to list SageMaker HyperPod clusters.ListClustersRequest.Builder
creationTimeBefore(Instant creationTimeBefore)
Set an end time for the time range during which you want to list SageMaker HyperPod clusters.ListClustersRequest.Builder
maxResults(Integer maxResults)
Set the maximum number of SageMaker HyperPod clusters to list.ListClustersRequest.Builder
nameContains(String nameContains)
Set the maximum number of instances to print in the list.ListClustersRequest.Builder
nextToken(String nextToken)
Set the next token to retrieve the list of SageMaker HyperPod clusters.ListClustersRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ListClustersRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ListClustersRequest.Builder
sortBy(String sortBy)
The field by which to sort results.ListClustersRequest.Builder
sortBy(ClusterSortBy sortBy)
The field by which to sort results.ListClustersRequest.Builder
sortOrder(String sortOrder)
The sort order for results.ListClustersRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order for results.ListClustersRequest.Builder
trainingPlanArn(String trainingPlanArn)
The Amazon Resource Name (ARN); of the training plan to filter clusters by.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
creationTimeAfter
ListClustersRequest.Builder creationTimeAfter(Instant creationTimeAfter)
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.
- Parameters:
creationTimeAfter
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
creationTimeBefore
ListClustersRequest.Builder creationTimeBefore(Instant creationTimeBefore)
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.- Parameters:
creationTimeBefore
- 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 forCreationTimeAfter
. For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListClustersRequest.Builder maxResults(Integer maxResults)
Set the maximum number of SageMaker HyperPod clusters to list.
- Parameters:
maxResults
- Set the maximum number of SageMaker HyperPod clusters to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nameContains
ListClustersRequest.Builder nameContains(String nameContains)
Set the maximum number of instances to print in the list.
- Parameters:
nameContains
- Set the maximum number of instances to print in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListClustersRequest.Builder nextToken(String nextToken)
Set the next token to retrieve the list of SageMaker HyperPod clusters.
- Parameters:
nextToken
- Set the next token to retrieve the list of SageMaker HyperPod clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
ListClustersRequest.Builder sortBy(String sortBy)
The field by which to sort results. The default value is
CREATION_TIME
.- Parameters:
sortBy
- The field by which to sort results. The default value isCREATION_TIME
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterSortBy
,ClusterSortBy
-
sortBy
ListClustersRequest.Builder sortBy(ClusterSortBy sortBy)
The field by which to sort results. The default value is
CREATION_TIME
.- Parameters:
sortBy
- The field by which to sort results. The default value isCREATION_TIME
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterSortBy
,ClusterSortBy
-
sortOrder
ListClustersRequest.Builder sortOrder(String sortOrder)
The sort order for results. The default value is
Ascending
.
-
sortOrder
ListClustersRequest.Builder sortOrder(SortOrder sortOrder)
The sort order for results. The default value is
Ascending
.
-
trainingPlanArn
ListClustersRequest.Builder trainingPlanArn(String trainingPlanArn)
The Amazon Resource Name (ARN); of the training plan to filter clusters by. For more information about reserving GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see
CreateTrainingPlan
.- Parameters:
trainingPlanArn
- The Amazon Resource Name (ARN); of the training plan to filter clusters by. For more information about reserving GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, seeCreateTrainingPlan
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListClustersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListClustersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-