Class Parameter

    • Constructor Detail

      • Parameter

        public Parameter()
    • Method Detail

      • setParameterKey

        public void setParameterKey​(String parameterKey)

        The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.

        Parameters:
        parameterKey - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
      • getParameterKey

        public String getParameterKey()

        The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.

        Returns:
        The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
      • withParameterKey

        public Parameter withParameterKey​(String parameterKey)

        The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.

        Parameters:
        parameterKey - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setParameterValue

        public void setParameterValue​(String parameterValue)

        The value associated with the parameter.

        Parameters:
        parameterValue - The value associated with the parameter.
      • getParameterValue

        public String getParameterValue()

        The value associated with the parameter.

        Returns:
        The value associated with the parameter.
      • withParameterValue

        public Parameter withParameterValue​(String parameterValue)

        The value associated with the parameter.

        Parameters:
        parameterValue - The value associated with the parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUsePreviousValue

        public void setUsePreviousValue​(Boolean usePreviousValue)

        During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

        Parameters:
        usePreviousValue - During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.
      • getUsePreviousValue

        public Boolean getUsePreviousValue()

        During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

        Returns:
        During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.
      • withUsePreviousValue

        public Parameter withUsePreviousValue​(Boolean usePreviousValue)

        During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

        Parameters:
        usePreviousValue - During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isUsePreviousValue

        public Boolean isUsePreviousValue()

        During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

        Returns:
        During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object