Class StackReferenceOutputDetails


  • public class StackReferenceOutputDetails
    extends java.lang.Object
    StackReferenceOutputDetails records an output from a StackReference.

    At most one of value and secretValue will be set.

    • Constructor Detail

      • StackReferenceOutputDetails

        protected StackReferenceOutputDetails​(java.util.Optional<java.lang.Object> value,
                                              java.util.Optional<java.lang.Object> secretValue)
    • Method Detail

      • getValue

        public java.util.Optional<java.lang.Object> getValue()
        Returns the value of the output.

        Returns an absent value if the output is a secret or if it does not exist.

      • getSecretValue

        public java.util.Optional<java.lang.Object> getSecretValue()
        Returns the secret value of the output.

        Returns an absent value if the output is not a secret or if it does not exist.