Class ScriptSecureStringExecutionParameter

java.lang.Object
com.azure.resourcemanager.avs.models.ScriptExecutionParameter
com.azure.resourcemanager.avs.models.ScriptSecureStringExecutionParameter

public final class ScriptSecureStringExecutionParameter extends ScriptExecutionParameter
a plain text value execution parameter.
  • Constructor Details

    • ScriptSecureStringExecutionParameter

      public ScriptSecureStringExecutionParameter()
      Creates an instance of ScriptSecureStringExecutionParameter class.
  • Method Details

    • secureValue

      public String secureValue()
      Get the secureValue property: A secure value for the passed parameter, not to be stored in logs.
      Returns:
      the secureValue value.
    • withSecureValue

      public ScriptSecureStringExecutionParameter withSecureValue(String secureValue)
      Set the secureValue property: A secure value for the passed parameter, not to be stored in logs.
      Parameters:
      secureValue - the secureValue value to set.
      Returns:
      the ScriptSecureStringExecutionParameter object itself.
    • withName

      Set the name property: The parameter name.
      Overrides:
      withName in class ScriptExecutionParameter
      Parameters:
      name - the name value to set.
      Returns:
      the ScriptExecutionParameter object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ScriptExecutionParameter
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.