Class ServiceRevisionSummary

    • Method Detail

      • arn

        public final String arn()

        The ARN of the service revision.

        Returns:
        The ARN of the service revision.
      • requestedTaskCount

        public final Integer requestedTaskCount()

        The number of requested tasks for the service revision.

        Returns:
        The number of requested tasks for the service revision.
      • runningTaskCount

        public final Integer runningTaskCount()

        The number of running tasks for the service revision.

        Returns:
        The number of running tasks for the service revision.
      • pendingTaskCount

        public final Integer pendingTaskCount()

        The number of pending tasks for the service revision.

        Returns:
        The number of pending tasks for the service revision.
      • requestedTestTrafficWeight

        public final Double requestedTestTrafficWeight()

        The percentage of test traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.

        Returns:
        The percentage of test traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.
      • requestedProductionTrafficWeight

        public final Double requestedProductionTrafficWeight()

        The percentage of production traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.

        Returns:
        The percentage of production traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.
      • 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)