Class AccessPolicyUpdateParameters

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.AccessPolicyUpdateParameters

public final class AccessPolicyUpdateParameters extends Object
The AccessPolicyUpdateParameters model.
  • Constructor Details

    • AccessPolicyUpdateParameters

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

    • description

      public String description()
      Get the description property: An description of the access policy.
      Returns:
      the description value.
    • withDescription

      public AccessPolicyUpdateParameters withDescription(String description)
      Set the description property: An description of the access policy.
      Parameters:
      description - the description value to set.
      Returns:
      the AccessPolicyUpdateParameters object itself.
    • roles

      public List<AccessPolicyRole> roles()
      Get the roles property: The list of roles the principal is assigned on the environment.
      Returns:
      the roles value.
    • withRoles

      Set the roles property: The list of roles the principal is assigned on the environment.
      Parameters:
      roles - the roles value to set.
      Returns:
      the AccessPolicyUpdateParameters object itself.
    • validate

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