Class EnvironmentLifecycle

    • Method Detail

      • status

        public final EnvironmentLifecycleStatus status()

        The current creation or deletion lifecycle state of the environment.

        • CREATING: The environment is in the process of being created.

        • CREATED: The environment was successfully created.

        • CREATE_FAILED: The environment failed to be created.

        • DELETING: The environment is in the process of being deleted.

        • DELETE_FAILED: The environment failed to delete.

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

        Returns:
        The current creation or deletion lifecycle state of the environment.

        • CREATING: The environment is in the process of being created.

        • CREATED: The environment was successfully created.

        • CREATE_FAILED: The environment failed to be created.

        • DELETING: The environment is in the process of being deleted.

        • DELETE_FAILED: The environment failed to delete.

        See Also:
        EnvironmentLifecycleStatus
      • statusAsString

        public final String statusAsString()

        The current creation or deletion lifecycle state of the environment.

        • CREATING: The environment is in the process of being created.

        • CREATED: The environment was successfully created.

        • CREATE_FAILED: The environment failed to be created.

        • DELETING: The environment is in the process of being deleted.

        • DELETE_FAILED: The environment failed to delete.

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

        Returns:
        The current creation or deletion lifecycle state of the environment.

        • CREATING: The environment is in the process of being created.

        • CREATED: The environment was successfully created.

        • CREATE_FAILED: The environment failed to be created.

        • DELETING: The environment is in the process of being deleted.

        • DELETE_FAILED: The environment failed to delete.

        See Also:
        EnvironmentLifecycleStatus
      • reason

        public final String reason()

        Any informational message about the lifecycle state of the environment.

        Returns:
        Any informational message about the lifecycle state of the environment.
      • failureResource

        public final String failureResource()

        If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.

        Returns:
        If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services 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)