Class GetWorkerResponse

    • 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.
      • 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, status will return WorkerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        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.
      • 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.
        Overrides:
        toString in class Object