Class ImmutableRawInstancesInfo

  • All Implemented Interfaces:
    Derivable<InstancesInfo>

    @Generated("org.immutables.processor.ProxyProcessor")
    public final class ImmutableRawInstancesInfo
    extends RawInstancesInfo
    Immutable implementation of RawInstancesInfo.

    Use the builder to create immutable instances: ImmutableRawInstancesInfo.builder(). Use the static factory method to create immutable instances: ImmutableRawInstancesInfo.of().

    • Method Detail

      • getProcessStatisticsResponse

        public org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponse getProcessStatisticsResponse()
        Specified by:
        getProcessStatisticsResponse in class RawInstancesInfo
        Returns:
        The value of the processStatisticsResponse attribute
      • withProcessStatisticsResponse

        public final ImmutableRawInstancesInfo withProcessStatisticsResponse​(org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponse value)
        Copy the current immutable object by setting a value for the processStatisticsResponse attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for processStatisticsResponse
        Returns:
        A modified copy of the this object
      • equals

        public boolean equals​(Object another)
        This instance is equal to all instances of ImmutableRawInstancesInfo that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: processStatisticsResponse.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

        public String toString()
        Prints the immutable value RawInstancesInfo with attribute values.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the value
      • of

        public static ImmutableRawInstancesInfo of​(org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponse processStatisticsResponse)
        Construct a new immutable RawInstancesInfo instance.
        Parameters:
        processStatisticsResponse - The value for the processStatisticsResponse attribute
        Returns:
        An immutable RawInstancesInfo instance
      • copyOf

        public static ImmutableRawInstancesInfo copyOf​(RawInstancesInfo instance)
        Creates an immutable copy of a RawInstancesInfo value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
        Parameters:
        instance - The instance to copy
        Returns:
        A copied immutable RawInstancesInfo instance