Class DatabasePrincipalAssignmentCheckNameRequest


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

      • DatabasePrincipalAssignmentCheckNameRequest

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

      • name

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

        public DatabasePrincipalAssignmentCheckNameRequest withName​(String name)
        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.Synapse/workspaces/kustoPools/databases/principalAssignments.
        Returns:
        the type value.
      • withType

        public DatabasePrincipalAssignmentCheckNameRequest withType​(String type)
        Set the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/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.