public final class DatabasePrincipalAssignmentCheckNameRequest extends Object
Constructor and Description |
---|
DatabasePrincipalAssignmentCheckNameRequest()
Creates an instance of DatabasePrincipalAssignmentCheckNameRequest class.
|
Modifier and Type | Method and 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.
|
public DatabasePrincipalAssignmentCheckNameRequest()
public String name()
public DatabasePrincipalAssignmentCheckNameRequest withName(String name)
name
- the name value to set.public String type()
public DatabasePrincipalAssignmentCheckNameRequest withType(String type)
type
- the type value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.