Class QueueFleetAssociationSummary

    • 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.
      • fleetId

        public final String fleetId()

        The fleet ID.

        Returns:
        The fleet ID.
      • queueId

        public final String queueId()

        The queue ID.

        Returns:
        The queue ID.
      • status

        public final QueueFleetAssociationStatus status()

        The status of task scheduling in the queue-fleet association.

        • ACTIVE–Association is active.

        • STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped scheduling new tasks and is completing current tasks.

        • STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling new tasks and is canceling current tasks.

        • STOPPED–Association has been stopped.

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

        Returns:
        The status of task scheduling in the queue-fleet association.

        • ACTIVE–Association is active.

        • STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped scheduling new tasks and is completing current tasks.

        • STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling new tasks and is canceling current tasks.

        • STOPPED–Association has been stopped.

        See Also:
        QueueFleetAssociationStatus
      • statusAsString

        public final String statusAsString()

        The status of task scheduling in the queue-fleet association.

        • ACTIVE–Association is active.

        • STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped scheduling new tasks and is completing current tasks.

        • STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling new tasks and is canceling current tasks.

        • STOPPED–Association has been stopped.

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

        Returns:
        The status of task scheduling in the queue-fleet association.

        • ACTIVE–Association is active.

        • STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped scheduling new tasks and is completing current tasks.

        • STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling new tasks and is canceling current tasks.

        • STOPPED–Association has been stopped.

        See Also:
        QueueFleetAssociationStatus
      • 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.
      • 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)