Interface WarmPoolStatus.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<WarmPoolStatus.Builder,WarmPoolStatus>
,SdkBuilder<WarmPoolStatus.Builder,WarmPoolStatus>
,SdkPojo
- Enclosing class:
- WarmPoolStatus
public static interface WarmPoolStatus.Builder extends SdkPojo, CopyableBuilder<WarmPoolStatus.Builder,WarmPoolStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WarmPoolStatus.Builder
resourceRetainedBillableTimeInSeconds(Integer resourceRetainedBillableTimeInSeconds)
The billable time in seconds used by the warm pool.WarmPoolStatus.Builder
reusedByJob(String reusedByJob)
The name of the matching training job that reused the warm pool.WarmPoolStatus.Builder
status(String status)
The status of the warm pool.WarmPoolStatus.Builder
status(WarmPoolResourceStatus status)
The status of the warm pool.-
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
-
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 specifiedKeepAlivePeriodInSeconds
.
- 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 specifiedKeepAlivePeriodInSeconds
.
-
- 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 specifiedKeepAlivePeriodInSeconds
.
- 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 specifiedKeepAlivePeriodInSeconds
.
-
- 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.
-
-