Interface TrainingPlanOffering.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrainingPlanOffering.Builder,TrainingPlanOffering>,SdkBuilder<TrainingPlanOffering.Builder,TrainingPlanOffering>,SdkPojo
- Enclosing class:
- TrainingPlanOffering
public static interface TrainingPlanOffering.Builder extends SdkPojo, CopyableBuilder<TrainingPlanOffering.Builder,TrainingPlanOffering>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrainingPlanOffering.BuildercurrencyCode(String currencyCode)The currency code for the upfront fee (e.g., USD).TrainingPlanOffering.BuilderdurationHours(Long durationHours)The number of whole hours in the total duration for this training plan offering.TrainingPlanOffering.BuilderdurationMinutes(Long durationMinutes)The additional minutes beyond whole hours in the total duration for this training plan offering.TrainingPlanOffering.BuilderrequestedEndTimeBefore(Instant requestedEndTimeBefore)The requested end time that the user specified when searching for the training plan offering.TrainingPlanOffering.BuilderrequestedStartTimeAfter(Instant requestedStartTimeAfter)The requested start time that the user specified when searching for the training plan offering.TrainingPlanOffering.BuilderreservedCapacityOfferings(Collection<ReservedCapacityOffering> reservedCapacityOfferings)A list of reserved capacity offerings associated with this training plan offering.TrainingPlanOffering.BuilderreservedCapacityOfferings(Consumer<ReservedCapacityOffering.Builder>... reservedCapacityOfferings)A list of reserved capacity offerings associated with this training plan offering.TrainingPlanOffering.BuilderreservedCapacityOfferings(ReservedCapacityOffering... reservedCapacityOfferings)A list of reserved capacity offerings associated with this training plan offering.TrainingPlanOffering.BuildertargetResources(Collection<SageMakerResourceName> targetResources)The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) for this training plan offering.TrainingPlanOffering.BuildertargetResources(SageMakerResourceName... targetResources)The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) for this training plan offering.TrainingPlanOffering.BuildertargetResourcesWithStrings(String... targetResources)The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) for this training plan offering.TrainingPlanOffering.BuildertargetResourcesWithStrings(Collection<String> targetResources)The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) for this training plan offering.TrainingPlanOffering.BuildertrainingPlanOfferingId(String trainingPlanOfferingId)The unique identifier for this training plan offering.TrainingPlanOffering.BuilderupfrontFee(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 Detail
-
trainingPlanOfferingId
TrainingPlanOffering.Builder trainingPlanOfferingId(String 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
TrainingPlanOffering.Builder targetResourcesWithStrings(Collection<String> 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.
-
-
targetResourcesWithStrings
TrainingPlanOffering.Builder targetResourcesWithStrings(String... 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
TrainingPlanOffering.Builder targetResources(Collection<SageMakerResourceName> 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
TrainingPlanOffering.Builder targetResources(SageMakerResourceName... 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
TrainingPlanOffering.Builder requestedStartTimeAfter(Instant 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
TrainingPlanOffering.Builder requestedEndTimeBefore(Instant 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
TrainingPlanOffering.Builder durationHours(Long 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
TrainingPlanOffering.Builder durationMinutes(Long 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
TrainingPlanOffering.Builder upfrontFee(String 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
TrainingPlanOffering.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.
-
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.Builderavoiding the need to create one manually viaReservedCapacityOffering.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#reservedCapacityOfferings(List.) - 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:
#reservedCapacityOfferings(java.util.Collection)
-
-