Class WorkerSummary
- java.lang.Object
-
- software.amazon.awssdk.services.deadline.model.WorkerSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkerSummary.Builder,WorkerSummary>
@Generated("software.amazon.awssdk:codegen") public final class WorkerSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkerSummary.Builder,WorkerSummary>
The summary of details for a worker.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkerSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkerSummary.Builderbuilder()InstantcreatedAt()The date and time the resource was created.StringcreatedBy()The user or system that created this resource.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfarmId()The farm ID.StringfleetId()The fleet ID.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HostPropertiesResponsehostProperties()The host properties of the worker.LogConfigurationlog()The log configuration for the worker.List<SdkField<?>>sdkFields()static Class<? extends WorkerSummary.Builder>serializableBuilderClass()WorkerStatusstatus()The status of the worker.StringstatusAsString()The status of the worker.WorkerSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The date and time the resource was updated.StringupdatedBy()The user or system that updated this resource.StringworkerId()The worker ID.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
createdAt
public final Instant createdAt()
The date and time the resource was created.
- Returns:
- The date and time the resource was created.
-
createdBy
public final String createdBy()
The user or system that created this resource.
- Returns:
- The user or system that created this resource.
-
farmId
public final String farmId()
The farm ID.
- Returns:
- The farm ID.
-
fleetId
public final String fleetId()
The fleet ID.
- Returns:
- The fleet ID.
-
hostProperties
public final HostPropertiesResponse hostProperties()
The host properties of the worker.
- Returns:
- The host properties of the worker.
-
log
public final LogConfiguration log()
The log configuration for the worker.
- Returns:
- The log configuration for the worker.
-
status
public final WorkerStatus status()
The status of the worker.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the worker.
- See Also:
WorkerStatus
-
statusAsString
public final String statusAsString()
The status of the worker.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the worker.
- See Also:
WorkerStatus
-
updatedAt
public final Instant updatedAt()
The date and time the resource was updated.
- Returns:
- The date and time the resource was updated.
-
updatedBy
public final String updatedBy()
The user or system that updated this resource.
- Returns:
- The user or system that updated this resource.
-
workerId
public final String workerId()
The worker ID.
- Returns:
- The worker ID.
-
toBuilder
public WorkerSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkerSummary.Builder,WorkerSummary>
-
builder
public static WorkerSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkerSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-