java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.AadProfileSecret
Direct Known Subclasses:
AadProfile

public class AadProfileSecret extends Object
The server AAD application secret.
  • Constructor Details

    • AadProfileSecret

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

    • serverAppSecret

      public String serverAppSecret()
      Get the serverAppSecret property: The server AAD application secret.
      Returns:
      the serverAppSecret value.
    • withServerAppSecret

      public AadProfileSecret withServerAppSecret(String serverAppSecret)
      Set the serverAppSecret property: The server AAD application secret.
      Parameters:
      serverAppSecret - the serverAppSecret value to set.
      Returns:
      the AadProfileSecret object itself.
    • validate

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