Class DatabasePrincipalAssignmentCheckNameRequest

java.lang.Object
com.azure.resourcemanager.kusto.models.DatabasePrincipalAssignmentCheckNameRequest

public final class DatabasePrincipalAssignmentCheckNameRequest extends Object
A principal assignment check name availability request.
  • Constructor Details

    • DatabasePrincipalAssignmentCheckNameRequest

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

    • name

      public String name()
      Get the name property: Principal Assignment resource name.
      Returns:
      the name value.
    • withName

      Set the name property: Principal Assignment resource name.
      Parameters:
      name - the name value to set.
      Returns:
      the DatabasePrincipalAssignmentCheckNameRequest object itself.
    • type

      public String type()
      Get the type property: The type of resource, Microsoft.Kusto/clusters/databases/principalAssignments.
      Returns:
      the type value.
    • withType

      Set the type property: The type of resource, Microsoft.Kusto/clusters/databases/principalAssignments.
      Parameters:
      type - the type value to set.
      Returns:
      the DatabasePrincipalAssignmentCheckNameRequest object itself.
    • validate

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