Class FleetSummary

    • Method Detail

      • configuration

        public final FleetConfiguration configuration()

        The configuration details for the fleet.

        Returns:
        The configuration details for the fleet.
      • 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.
      • displayName

        public final String displayName()

        The display name of the fleet summary to update.

        Returns:
        The display name of the fleet summary to update.
      • farmId

        public final String farmId()

        The farm ID.

        Returns:
        The farm ID.
      • fleetId

        public final String fleetId()

        The fleet ID.

        Returns:
        The fleet ID.
      • maxWorkerCount

        public final Integer maxWorkerCount()

        The maximum number of workers specified in the fleet.

        Returns:
        The maximum number of workers specified in the fleet.
      • minWorkerCount

        public final Integer minWorkerCount()

        The minimum number of workers in the fleet.

        Returns:
        The minimum number of workers in the fleet.
      • statusAsString

        public final String statusAsString()

        The status of the fleet.

        If the service returns an enum value that is not available in the current SDK version, status will return FleetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the fleet.
        See Also:
        FleetStatus
      • targetWorkerCount

        public final Integer targetWorkerCount()

        The target number of workers in a fleet.

        Returns:
        The target number of workers in a fleet.
      • 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.
      • workerCount

        public final Integer workerCount()

        The number of workers in the fleet summary.

        Returns:
        The number of workers in the fleet summary.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)