Interface DescribeTrainingPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTrainingPlanResponse.Builder,
,DescribeTrainingPlanResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeTrainingPlanResponse.Builder,
,DescribeTrainingPlanResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTrainingPlanResponse
-
Method Summary
Modifier and TypeMethodDescriptionavailableInstanceCount
(Integer availableInstanceCount) The number of instances currently available for use in this training plan.currencyCode
(String currencyCode) The currency code for the upfront fee (e.g., USD).durationHours
(Long durationHours) The number of whole hours in the total duration for this training plan.durationMinutes
(Long durationMinutes) The additional minutes beyond whole hours in the total duration for this training plan.The end time of the training plan.inUseInstanceCount
(Integer inUseInstanceCount) The number of instances currently in use from this training plan.reservedCapacitySummaries
(Collection<ReservedCapacitySummary> reservedCapacitySummaries) The list of Reserved Capacity providing the underlying compute resources of the plan.reservedCapacitySummaries
(Consumer<ReservedCapacitySummary.Builder>... reservedCapacitySummaries) The list of Reserved Capacity providing the underlying compute resources of the plan.reservedCapacitySummaries
(ReservedCapacitySummary... reservedCapacitySummaries) The list of Reserved Capacity providing the underlying compute resources of the plan.The start time of the training plan.The current status of the training plan (e.g., Pending, Active, Expired).status
(TrainingPlanStatus status) The current status of the training plan (e.g., Pending, Active, Expired).statusMessage
(String statusMessage) A message providing additional information about the current status of the training plan.targetResources
(Collection<SageMakerResourceName> targetResources) The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.targetResources
(SageMakerResourceName... targetResources) The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.targetResourcesWithStrings
(String... targetResources) The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.targetResourcesWithStrings
(Collection<String> targetResources) The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.totalInstanceCount
(Integer totalInstanceCount) The total number of instances reserved in this training plan.trainingPlanArn
(String trainingPlanArn) The Amazon Resource Name (ARN); of the training plan.trainingPlanName
(String trainingPlanName) The name of the training plan.upfrontFee
(String upfrontFee) The upfront fee for the training plan.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
trainingPlanArn
The Amazon Resource Name (ARN); of the training plan.
- Parameters:
trainingPlanArn
- The Amazon Resource Name (ARN); of the training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingPlanName
The name of the training plan.
- Parameters:
trainingPlanName
- The name of the training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the training plan (e.g., Pending, Active, Expired). To see the complete list of status values available for a training plan, refer to the
Status
attribute within theTrainingPlanSummary
object.- Parameters:
status
- The current status of the training plan (e.g., Pending, Active, Expired). To see the complete list of status values available for a training plan, refer to theStatus
attribute within theTrainingPlanSummary
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the training plan (e.g., Pending, Active, Expired). To see the complete list of status values available for a training plan, refer to the
Status
attribute within theTrainingPlanSummary
object.- Parameters:
status
- The current status of the training plan (e.g., Pending, Active, Expired). To see the complete list of status values available for a training plan, refer to theStatus
attribute within theTrainingPlanSummary
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
A message providing additional information about the current status of the training plan.
- Parameters:
statusMessage
- A message providing additional information about the current status of the training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationHours
The number of whole hours in the total duration for this training plan.
- Parameters:
durationHours
- The number of whole hours in the total duration for this training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationMinutes
The additional minutes beyond whole hours in the total duration for this training plan.
- Parameters:
durationMinutes
- The additional minutes beyond whole hours in the total duration for this training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time of the training plan.
- Parameters:
startTime
- The start time of the training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the training plan.
- Parameters:
endTime
- The end time of the training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontFee
The upfront fee for the training plan.
- Parameters:
upfrontFee
- The upfront fee for the training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency code for the upfront fee (e.g., USD).
- Parameters:
currencyCode
- The currency code for the upfront fee (e.g., USD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalInstanceCount
The total number of instances reserved in this training plan.
- Parameters:
totalInstanceCount
- The total number of instances reserved in this training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableInstanceCount
The number of instances currently available for use in this training plan.
- Parameters:
availableInstanceCount
- The number of instances currently available for use in this training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inUseInstanceCount
The number of instances currently in use from this training plan.
- Parameters:
inUseInstanceCount
- The number of instances currently in use from this training plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResourcesWithStrings
The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.
Training plans are specific to their target resource.
-
A training plan designed for SageMaker training jobs can only be used to schedule and run training jobs.
-
A training plan for HyperPod clusters can be used exclusively to provide compute resources to a cluster's instance group.
- Parameters:
targetResources
- The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.Training plans are specific to their target resource.
-
A training plan designed for SageMaker training jobs can only be used to schedule and run training jobs.
-
A training plan for HyperPod clusters can be used exclusively to provide compute resources to a cluster's instance group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetResourcesWithStrings
The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.
Training plans are specific to their target resource.
-
A training plan designed for SageMaker training jobs can only be used to schedule and run training jobs.
-
A training plan for HyperPod clusters can be used exclusively to provide compute resources to a cluster's instance group.
- Parameters:
targetResources
- The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.Training plans are specific to their target resource.
-
A training plan designed for SageMaker training jobs can only be used to schedule and run training jobs.
-
A training plan for HyperPod clusters can be used exclusively to provide compute resources to a cluster's instance group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetResources
DescribeTrainingPlanResponse.Builder targetResources(Collection<SageMakerResourceName> targetResources) The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.
Training plans are specific to their target resource.
-
A training plan designed for SageMaker training jobs can only be used to schedule and run training jobs.
-
A training plan for HyperPod clusters can be used exclusively to provide compute resources to a cluster's instance group.
- Parameters:
targetResources
- The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.Training plans are specific to their target resource.
-
A training plan designed for SageMaker training jobs can only be used to schedule and run training jobs.
-
A training plan for HyperPod clusters can be used exclusively to provide compute resources to a cluster's instance group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetResources
The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.
Training plans are specific to their target resource.
-
A training plan designed for SageMaker training jobs can only be used to schedule and run training jobs.
-
A training plan for HyperPod clusters can be used exclusively to provide compute resources to a cluster's instance group.
- Parameters:
targetResources
- The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.Training plans are specific to their target resource.
-
A training plan designed for SageMaker training jobs can only be used to schedule and run training jobs.
-
A training plan for HyperPod clusters can be used exclusively to provide compute resources to a cluster's instance group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
reservedCapacitySummaries
DescribeTrainingPlanResponse.Builder reservedCapacitySummaries(Collection<ReservedCapacitySummary> reservedCapacitySummaries) The list of Reserved Capacity providing the underlying compute resources of the plan.
- Parameters:
reservedCapacitySummaries
- The list of Reserved Capacity providing the underlying compute resources of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedCapacitySummaries
DescribeTrainingPlanResponse.Builder reservedCapacitySummaries(ReservedCapacitySummary... reservedCapacitySummaries) The list of Reserved Capacity providing the underlying compute resources of the plan.
- Parameters:
reservedCapacitySummaries
- The list of Reserved Capacity providing the underlying compute resources of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedCapacitySummaries
DescribeTrainingPlanResponse.Builder reservedCapacitySummaries(Consumer<ReservedCapacitySummary.Builder>... reservedCapacitySummaries) The list of Reserved Capacity providing the underlying compute resources of the plan.
This is a convenience method that creates an instance of theReservedCapacitySummary.Builder
avoiding the need to create one manually viaReservedCapacitySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreservedCapacitySummaries(List<ReservedCapacitySummary>)
.- Parameters:
reservedCapacitySummaries
- a consumer that will call methods onReservedCapacitySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-