Class StepEventStateMetadata


  • public class StepEventStateMetadata
    extends java.lang.Object
    StepEventStateMetadata is the more detailed state information for a resource as it relates to a step(s) being performed.
    • Constructor Summary

      Constructors 
      Constructor Description
      StepEventStateMetadata​(java.lang.String urn, java.lang.String type, java.lang.Boolean custom, java.lang.Boolean delete, java.lang.String id, java.lang.String parent, java.lang.Boolean protect, java.util.Map<java.lang.String,​java.lang.Object> inputs, java.util.Map<java.lang.String,​java.lang.Object> outputs, java.lang.String provider, java.util.List<java.lang.String> initErrors)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean custom()
      Gets whether the resource is managed by a plugin.
      java.lang.Boolean delete()
      Gets whether the resource is pending deletion due to a replacement.
      java.lang.String id()
      Gets the resource's unique ID, assigned by the resource provider (or blank if none/uncreated).
      java.util.List<java.lang.String> initErrors()
      Gets the set of errors encountered in the process of initializing resource.
      java.util.Map<java.lang.String,​java.lang.Object> inputs()
      Gets the resource's input properties (as specified by the program).
      java.util.Map<java.lang.String,​java.lang.Object> outputs()
      Gets the resource's complete output state (as returned by the resource provider).
      java.lang.String parent()
      Gets the optional parent URN that this resource belongs to.
      java.lang.Boolean protect()
      Gets whether this resource is protected (protected resources cannot be deleted).
      java.lang.String provider()
      Gets the resource's provider reference.
      java.lang.String type()  
      java.lang.String urn()  
      • Methods inherited from class java.lang.Object

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

      • StepEventStateMetadata

        public StepEventStateMetadata​(java.lang.String urn,
                                      java.lang.String type,
                                      java.lang.Boolean custom,
                                      java.lang.Boolean delete,
                                      java.lang.String id,
                                      java.lang.String parent,
                                      java.lang.Boolean protect,
                                      java.util.Map<java.lang.String,​java.lang.Object> inputs,
                                      java.util.Map<java.lang.String,​java.lang.Object> outputs,
                                      java.lang.String provider,
                                      java.util.List<java.lang.String> initErrors)
    • Method Detail

      • urn

        public java.lang.String urn()
      • type

        public java.lang.String type()
      • custom

        @Nullable
        public java.lang.Boolean custom()
        Gets whether the resource is managed by a plugin.
        Returns:
        true if managed by a plugin, may be null
      • delete

        @Nullable
        public java.lang.Boolean delete()
        Gets whether the resource is pending deletion due to a replacement.
        Returns:
        true if pending deletion, may be null
      • id

        public java.lang.String id()
        Gets the resource's unique ID, assigned by the resource provider (or blank if none/uncreated).
        Returns:
        the resource ID
      • parent

        public java.lang.String parent()
        Gets the optional parent URN that this resource belongs to.
        Returns:
        the parent URN
      • protect

        @Nullable
        public java.lang.Boolean protect()
        Gets whether this resource is protected (protected resources cannot be deleted).
        Returns:
        true if protected, may be null
      • inputs

        public java.util.Map<java.lang.String,​java.lang.Object> inputs()
        Gets the resource's input properties (as specified by the program). Secrets have filtered out, and large assets have been replaced by hashes as applicable.
        Returns:
        an unmodifiable map of input properties
      • outputs

        public java.util.Map<java.lang.String,​java.lang.Object> outputs()
        Gets the resource's complete output state (as returned by the resource provider).
        Returns:
        an unmodifiable map of output properties
      • provider

        public java.lang.String provider()
        Gets the resource's provider reference.
        Returns:
        the provider reference
      • initErrors

        public java.util.List<java.lang.String> initErrors()
        Gets the set of errors encountered in the process of initializing resource.
        Returns:
        an unmodifiable list of initialization errors, may be null