Interface DescribeTrainingPlanResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTrainingPlanResponse.Builder,DescribeTrainingPlanResponse>,SageMakerResponse.Builder,SdkBuilder<DescribeTrainingPlanResponse.Builder,DescribeTrainingPlanResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTrainingPlanResponse
public static interface DescribeTrainingPlanResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeTrainingPlanResponse.Builder,DescribeTrainingPlanResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeTrainingPlanResponse.BuilderavailableInstanceCount(Integer availableInstanceCount)The number of instances currently available for use in this training plan.DescribeTrainingPlanResponse.BuildercurrencyCode(String currencyCode)The currency code for the upfront fee (e.g., USD).DescribeTrainingPlanResponse.BuilderdurationHours(Long durationHours)The number of whole hours in the total duration for this training plan.DescribeTrainingPlanResponse.BuilderdurationMinutes(Long durationMinutes)The additional minutes beyond whole hours in the total duration for this training plan.DescribeTrainingPlanResponse.BuilderendTime(Instant endTime)The end time of the training plan.DescribeTrainingPlanResponse.BuilderinUseInstanceCount(Integer inUseInstanceCount)The number of instances currently in use from this training plan.DescribeTrainingPlanResponse.BuilderreservedCapacitySummaries(Collection<ReservedCapacitySummary> reservedCapacitySummaries)The list of Reserved Capacity providing the underlying compute resources of the plan.DescribeTrainingPlanResponse.BuilderreservedCapacitySummaries(Consumer<ReservedCapacitySummary.Builder>... reservedCapacitySummaries)The list of Reserved Capacity providing the underlying compute resources of the plan.DescribeTrainingPlanResponse.BuilderreservedCapacitySummaries(ReservedCapacitySummary... reservedCapacitySummaries)The list of Reserved Capacity providing the underlying compute resources of the plan.DescribeTrainingPlanResponse.BuilderstartTime(Instant startTime)The start time of the training plan.DescribeTrainingPlanResponse.Builderstatus(String status)The current status of the training plan (e.g., Pending, Active, Expired).DescribeTrainingPlanResponse.Builderstatus(TrainingPlanStatus status)The current status of the training plan (e.g., Pending, Active, Expired).DescribeTrainingPlanResponse.BuilderstatusMessage(String statusMessage)A message providing additional information about the current status of the training plan.DescribeTrainingPlanResponse.BuildertargetResources(Collection<SageMakerResourceName> targetResources)The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.DescribeTrainingPlanResponse.BuildertargetResources(SageMakerResourceName... targetResources)The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.DescribeTrainingPlanResponse.BuildertargetResourcesWithStrings(String... targetResources)The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.DescribeTrainingPlanResponse.BuildertargetResourcesWithStrings(Collection<String> targetResources)The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) that can use this training plan.DescribeTrainingPlanResponse.BuildertotalInstanceCount(Integer totalInstanceCount)The total number of instances reserved in this training plan.DescribeTrainingPlanResponse.BuildertrainingPlanArn(String trainingPlanArn)The Amazon Resource Name (ARN); of the training plan.DescribeTrainingPlanResponse.BuildertrainingPlanName(String trainingPlanName)The name of the training plan.DescribeTrainingPlanResponse.BuilderupfrontFee(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 Detail
-
trainingPlanArn
DescribeTrainingPlanResponse.Builder trainingPlanArn(String 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
DescribeTrainingPlanResponse.Builder trainingPlanName(String 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
DescribeTrainingPlanResponse.Builder status(String 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
Statusattribute within theTrainingPlanSummaryobject.- 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 theStatusattribute within theTrainingPlanSummaryobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TrainingPlanStatus,TrainingPlanStatus
-
status
DescribeTrainingPlanResponse.Builder status(TrainingPlanStatus 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
Statusattribute within theTrainingPlanSummaryobject.- 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 theStatusattribute within theTrainingPlanSummaryobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TrainingPlanStatus,TrainingPlanStatus
-
statusMessage
DescribeTrainingPlanResponse.Builder statusMessage(String 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
DescribeTrainingPlanResponse.Builder durationHours(Long 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
DescribeTrainingPlanResponse.Builder durationMinutes(Long 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
DescribeTrainingPlanResponse.Builder startTime(Instant 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
DescribeTrainingPlanResponse.Builder endTime(Instant 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
DescribeTrainingPlanResponse.Builder upfrontFee(String 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
DescribeTrainingPlanResponse.Builder currencyCode(String 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
DescribeTrainingPlanResponse.Builder totalInstanceCount(Integer 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
DescribeTrainingPlanResponse.Builder availableInstanceCount(Integer 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
DescribeTrainingPlanResponse.Builder inUseInstanceCount(Integer 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
DescribeTrainingPlanResponse.Builder targetResourcesWithStrings(Collection<String> 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.
-
-
targetResourcesWithStrings
DescribeTrainingPlanResponse.Builder targetResourcesWithStrings(String... 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
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
DescribeTrainingPlanResponse.Builder targetResources(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.
-
-
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.Builderavoiding the need to create one manually viaReservedCapacitySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#reservedCapacitySummaries(List.) - 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:
#reservedCapacitySummaries(java.util.Collection)
-
-