@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WarmPoolStatus extends Object implements Serializable, Cloneable, StructuredPojo
Status and billing information about the warm pool.
Constructor and Description |
---|
WarmPoolStatus() |
Modifier and Type | Method and Description |
---|---|
WarmPoolStatus |
clone() |
boolean |
equals(Object obj) |
Integer |
getResourceRetainedBillableTimeInSeconds()
The billable time in seconds used by the warm pool.
|
String |
getReusedByJob()
The name of the matching training job that reused the warm pool.
|
String |
getStatus()
The status of the warm pool.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourceRetainedBillableTimeInSeconds(Integer resourceRetainedBillableTimeInSeconds)
The billable time in seconds used by the warm pool.
|
void |
setReusedByJob(String reusedByJob)
The name of the matching training job that reused the warm pool.
|
void |
setStatus(String status)
The status of the warm pool.
|
String |
toString()
Returns a string representation of this object.
|
WarmPoolStatus |
withResourceRetainedBillableTimeInSeconds(Integer resourceRetainedBillableTimeInSeconds)
The billable time in seconds used by the warm pool.
|
WarmPoolStatus |
withReusedByJob(String reusedByJob)
The name of the matching training job that reused the warm pool.
|
WarmPoolStatus |
withStatus(String status)
The status of the warm pool.
|
WarmPoolStatus |
withStatus(WarmPoolResourceStatus status)
The status of the warm pool.
|
public void setStatus(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
.
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
.
WarmPoolResourceStatus
public String getStatus()
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
.
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
.
WarmPoolResourceStatus
public WarmPoolStatus withStatus(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
.
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
.
WarmPoolResourceStatus
public WarmPoolStatus withStatus(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
.
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
.
WarmPoolResourceStatus
public void setResourceRetainedBillableTimeInSeconds(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
.
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
.
public Integer getResourceRetainedBillableTimeInSeconds()
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
.
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
.
public WarmPoolStatus withResourceRetainedBillableTimeInSeconds(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
.
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
.
public void setReusedByJob(String reusedByJob)
The name of the matching training job that reused the warm pool.
reusedByJob
- The name of the matching training job that reused the warm pool.public String getReusedByJob()
The name of the matching training job that reused the warm pool.
public WarmPoolStatus withReusedByJob(String reusedByJob)
The name of the matching training job that reused the warm pool.
reusedByJob
- The name of the matching training job that reused the warm pool.public String toString()
toString
in class Object
Object.toString()
public WarmPoolStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.