Class SecretProperties

java.lang.Object
com.azure.resourcemanager.cdn.models.AfdStateProperties
com.azure.resourcemanager.cdn.fluent.models.SecretProperties

public final class SecretProperties extends AfdStateProperties
The JSON object that contains the properties of the Secret to create.
  • Constructor Details

    • SecretProperties

      public SecretProperties()
  • Method Details

    • profileName

      public String profileName()
      Get the profileName property: The name of the profile which holds the secret.
      Returns:
      the profileName value.
    • parameters

      public SecretParameters parameters()
      Get the parameters property: object which contains secret parameters.
      Returns:
      the parameters value.
    • withParameters

      public SecretProperties withParameters(SecretParameters parameters)
      Set the parameters property: object which contains secret parameters.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the SecretProperties object itself.
    • validate

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