Interface TrainingPlanOffering.Builder

  • Method Details

    • 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

      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 the ReservedCapacityOffering.Builder avoiding the need to create one manually via ReservedCapacityOffering.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to reservedCapacityOfferings(List<ReservedCapacityOffering>).

      Parameters:
      reservedCapacityOfferings - a consumer that will call methods on ReservedCapacityOffering.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: