Class Deployment

    • Method Detail

      • versionLabel

        public final String versionLabel()

        The version label of the application version in the deployment.

        Returns:
        The version label of the application version in the deployment.
      • deploymentId

        public final Long deploymentId()

        The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.

        Returns:
        The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
      • status

        public final String status()

        The status of the deployment:

        • In Progress : The deployment is in progress.

        • Deployed : The deployment succeeded.

        • Failed : The deployment failed.

        Returns:
        The status of the deployment:

        • In Progress : The deployment is in progress.

        • Deployed : The deployment succeeded.

        • Failed : The deployment failed.

      • deploymentTime

        public final Instant deploymentTime()

        For in-progress deployments, the time that the deployment started.

        For completed deployments, the time that the deployment ended.

        Returns:
        For in-progress deployments, the time that the deployment started.

        For completed deployments, the time that the deployment ended.

      • 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)