Interface WarmPoolStatus.Builder

    • Method Detail

      • status

        WarmPoolStatus.Builder status​(String status)

        The status of the warm pool.

        • InUse: The warm pool is in use for the training job.

        • Available: The warm pool is available to reuse for a matching training job.

        • Reused: The warm pool moved to a matching training job for reuse.

        • Terminated: The warm pool is no longer available. Warm pools are unavailable if they are terminated by a user, terminated for a patch update, or terminated for exceeding the specified KeepAlivePeriodInSeconds.

        Parameters:
        status - The status of the warm pool.

        • InUse: The warm pool is in use for the training job.

        • Available: The warm pool is available to reuse for a matching training job.

        • Reused: The warm pool moved to a matching training job for reuse.

        • Terminated: The warm pool is no longer available. Warm pools are unavailable if they are terminated by a user, terminated for a patch update, or terminated for exceeding the specified KeepAlivePeriodInSeconds.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WarmPoolResourceStatus, WarmPoolResourceStatus
      • status

        WarmPoolStatus.Builder status​(WarmPoolResourceStatus status)

        The status of the warm pool.

        • InUse: The warm pool is in use for the training job.

        • Available: The warm pool is available to reuse for a matching training job.

        • Reused: The warm pool moved to a matching training job for reuse.

        • Terminated: The warm pool is no longer available. Warm pools are unavailable if they are terminated by a user, terminated for a patch update, or terminated for exceeding the specified KeepAlivePeriodInSeconds.

        Parameters:
        status - The status of the warm pool.

        • InUse: The warm pool is in use for the training job.

        • Available: The warm pool is available to reuse for a matching training job.

        • Reused: The warm pool moved to a matching training job for reuse.

        • Terminated: The warm pool is no longer available. Warm pools are unavailable if they are terminated by a user, terminated for a patch update, or terminated for exceeding the specified KeepAlivePeriodInSeconds.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WarmPoolResourceStatus, WarmPoolResourceStatus
      • resourceRetainedBillableTimeInSeconds

        WarmPoolStatus.Builder resourceRetainedBillableTimeInSeconds​(Integer resourceRetainedBillableTimeInSeconds)

        The billable time in seconds used by the warm pool. Billable time refers to the absolute wall-clock time.

        Multiply ResourceRetainedBillableTimeInSeconds by the number of instances ( InstanceCount) in your training cluster to get the total compute time SageMaker bills you if you run warm pool training. The formula is as follows: ResourceRetainedBillableTimeInSeconds * InstanceCount.

        Parameters:
        resourceRetainedBillableTimeInSeconds - The billable time in seconds used by the warm pool. Billable time refers to the absolute wall-clock time.

        Multiply ResourceRetainedBillableTimeInSeconds by the number of instances ( InstanceCount) in your training cluster to get the total compute time SageMaker bills you if you run warm pool training. The formula is as follows: ResourceRetainedBillableTimeInSeconds * InstanceCount.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reusedByJob

        WarmPoolStatus.Builder reusedByJob​(String reusedByJob)

        The name of the matching training job that reused the warm pool.

        Parameters:
        reusedByJob - The name of the matching training job that reused the warm pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.