Class DatabasePrincipalAssignmentCheckNameRequest
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.DatabasePrincipalAssignmentCheckNameRequest
-
public final class DatabasePrincipalAssignmentCheckNameRequest extends Object
A principal assignment check name availability request.
-
-
Constructor Summary
Constructors Constructor Description DatabasePrincipalAssignmentCheckNameRequest()
Creates an instance of DatabasePrincipalAssignmentCheckNameRequest class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Principal Assignment resource name.String
type()
Get the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/databases/principalAssignments.void
validate()
Validates the instance.DatabasePrincipalAssignmentCheckNameRequest
withName(String name)
Set the name property: Principal Assignment resource name.DatabasePrincipalAssignmentCheckNameRequest
withType(String type)
Set the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/databases/principalAssignments.
-
-
-
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.
-
-