Class UpdateSummary


  • public final class UpdateSummary
    extends java.lang.Object
    Information about an update.
    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateSummary​(UpdateKind kind, java.time.Instant startTime, java.lang.String message, java.util.Map<java.lang.String,​java.lang.String> environment, java.util.Map<java.lang.String,​ConfigValue> config, UpdateState result, java.time.Instant endTime, java.lang.Integer version, java.lang.String deployment, java.util.Map<OperationType,​java.lang.Integer> resourceChanges)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​ConfigValue> config()
      Returns the configuration that was used for the update.
      java.lang.String deployment()
      Returns a raw JSON blob detailing the deployment.
      java.time.Instant endTime()
      Returns the end time of the update.
      java.util.Map<java.lang.String,​java.lang.String> environment()
      Returns the environment that was used for the update.
      UpdateKind kind()
      Returns the kind of the update.
      java.lang.String message()
      Returns the message associated with the update.
      java.util.Map<OperationType,​java.lang.Integer> resourceChanges()
      Returns the changes that were applied by the update.
      UpdateState result()
      Returns the result of the update.
      java.time.Instant startTime()
      Returns the start time of the update.
      java.lang.Integer version()
      Returns the version of the stack after the update.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpdateSummary

        public UpdateSummary​(UpdateKind kind,
                             java.time.Instant startTime,
                             java.lang.String message,
                             java.util.Map<java.lang.String,​java.lang.String> environment,
                             java.util.Map<java.lang.String,​ConfigValue> config,
                             UpdateState result,
                             java.time.Instant endTime,
                             java.lang.Integer version,
                             java.lang.String deployment,
                             java.util.Map<OperationType,​java.lang.Integer> resourceChanges)
    • Method Detail

      • kind

        public UpdateKind kind()
        Returns the kind of the update.
        Returns:
        the kind
      • startTime

        public java.time.Instant startTime()
        Returns the start time of the update.
        Returns:
        the start time
      • message

        public java.lang.String message()
        Returns the message associated with the update.
        Returns:
        the message
      • environment

        public java.util.Map<java.lang.String,​java.lang.String> environment()
        Returns the environment that was used for the update.
        Returns:
        the environment
      • config

        public java.util.Map<java.lang.String,​ConfigValue> config()
        Returns the configuration that was used for the update.
        Returns:
        the configuration
      • result

        public UpdateState result()
        Returns the result of the update.
        Returns:
        the result
      • endTime

        public java.time.Instant endTime()
        Returns the end time of the update.
        Returns:
        the end time
      • version

        public java.lang.Integer version()
        Returns the version of the stack after the update.
        Returns:
        the version
      • deployment

        public java.lang.String deployment()
        Returns a raw JSON blob detailing the deployment.
        Returns:
        the deployment
      • resourceChanges

        public java.util.Map<OperationType,​java.lang.Integer> resourceChanges()
        Returns the changes that were applied by the update.
        Returns:
        the changes