Class GetWorkerResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.deadline.model.DeadlineResponse
-
- software.amazon.awssdk.services.deadline.model.GetWorkerResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetWorkerResponse.Builder,GetWorkerResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetWorkerResponse extends DeadlineResponse implements ToCopyableBuilder<GetWorkerResponse.Builder,GetWorkerResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetWorkerResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetWorkerResponse.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 for the worker.LogConfigurationlog()The logs for the associated worker.List<SdkField<?>>sdkFields()static Class<? extends GetWorkerResponse.Builder>serializableBuilderClass()WorkerStatusstatus()The status of the worker.StringstatusAsString()The status of the worker.GetWorkerResponse.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 software.amazon.awssdk.services.deadline.model.DeadlineResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 for the worker.
- Returns:
- The host properties for the worker.
-
log
public final LogConfiguration log()
The logs for the associated worker.
- Returns:
- The logs for the associated 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 GetWorkerResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetWorkerResponse.Builder,GetWorkerResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetWorkerResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetWorkerResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-