Interface TrainingPlanOffering.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrainingPlanOffering.Builder,
,TrainingPlanOffering> SdkBuilder<TrainingPlanOffering.Builder,
,TrainingPlanOffering> SdkPojo
- Enclosing class:
TrainingPlanOffering
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(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 offering.durationMinutes
(Long durationMinutes) The additional minutes beyond whole hours in the total duration for this training plan offering.requestedEndTimeBefore
(Instant requestedEndTimeBefore) The requested end time that the user specified when searching for the training plan offering.requestedStartTimeAfter
(Instant requestedStartTimeAfter) The requested start time that the user specified when searching for the training plan offering.reservedCapacityOfferings
(Collection<ReservedCapacityOffering> reservedCapacityOfferings) A list of reserved capacity offerings associated with this training plan offering.reservedCapacityOfferings
(Consumer<ReservedCapacityOffering.Builder>... reservedCapacityOfferings) A list of reserved capacity offerings associated with this training plan offering.reservedCapacityOfferings
(ReservedCapacityOffering... reservedCapacityOfferings) A list of reserved capacity offerings associated with this training plan offering.targetResources
(Collection<SageMakerResourceName> targetResources) The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) for this training plan offering.targetResources
(SageMakerResourceName... targetResources) The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) for this training plan offering.targetResourcesWithStrings
(String... targetResources) The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) for this training plan offering.targetResourcesWithStrings
(Collection<String> targetResources) The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) for this training plan offering.trainingPlanOfferingId
(String trainingPlanOfferingId) The unique identifier for this training plan offering.upfrontFee
(String upfrontFee) The upfront fee for this training plan offering.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
trainingPlanOfferingId
The unique identifier for this training plan offering.
- Parameters:
trainingPlanOfferingId
- The unique identifier for this training plan offering.- 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) for this training plan offering.
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) for this training plan offering.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) for this training plan offering.
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) for this training plan offering.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) for this training plan offering.
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) for this training plan offering.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) for this training plan offering.
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) for this training plan offering.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.
-
-
requestedStartTimeAfter
The requested start time that the user specified when searching for the training plan offering.
- Parameters:
requestedStartTimeAfter
- The requested start time that the user specified when searching for the training plan offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedEndTimeBefore
The requested end time that the user specified when searching for the training plan offering.
- Parameters:
requestedEndTimeBefore
- The requested end time that the user specified when searching for the training plan offering.- 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 offering.
- Parameters:
durationHours
- The number of whole hours in the total duration for this training plan offering.- 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 offering.
- Parameters:
durationMinutes
- The additional minutes beyond whole hours in the total duration for this training plan offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontFee
The upfront fee for this training plan offering.
- Parameters:
upfrontFee
- The upfront fee for this training plan offering.- 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.
-
reservedCapacityOfferings
TrainingPlanOffering.Builder reservedCapacityOfferings(Collection<ReservedCapacityOffering> reservedCapacityOfferings) A list of reserved capacity offerings associated with this training plan offering.
- Parameters:
reservedCapacityOfferings
- A list of reserved capacity offerings associated with this training plan offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedCapacityOfferings
TrainingPlanOffering.Builder reservedCapacityOfferings(ReservedCapacityOffering... reservedCapacityOfferings) A list of reserved capacity offerings associated with this training plan offering.
- Parameters:
reservedCapacityOfferings
- A list of reserved capacity offerings associated with this training plan offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedCapacityOfferings
TrainingPlanOffering.Builder reservedCapacityOfferings(Consumer<ReservedCapacityOffering.Builder>... reservedCapacityOfferings) A list of reserved capacity offerings associated with this training plan offering.
This is a convenience method that creates an instance of theReservedCapacityOffering.Builder
avoiding the need to create one manually viaReservedCapacityOffering.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreservedCapacityOfferings(List<ReservedCapacityOffering>)
.- Parameters:
reservedCapacityOfferings
- a consumer that will call methods onReservedCapacityOffering.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-