Class ClusterPrincipalAssignmentCheckNameRequest
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.ClusterPrincipalAssignmentCheckNameRequest
-
public final class ClusterPrincipalAssignmentCheckNameRequest extends Object
A principal assignment check name availability request.
-
-
Constructor Summary
Constructors Constructor Description ClusterPrincipalAssignmentCheckNameRequest()
Creates an instance of ClusterPrincipalAssignmentCheckNameRequest 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/principalAssignments.void
validate()
Validates the instance.ClusterPrincipalAssignmentCheckNameRequest
withName(String name)
Set the name property: Principal Assignment resource name.ClusterPrincipalAssignmentCheckNameRequest
withType(String type)
Set the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/principalAssignments.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Principal Assignment resource name.- Returns:
- the name value.
-
withName
public ClusterPrincipalAssignmentCheckNameRequest withName(String name)
Set the name property: Principal Assignment resource name.- Parameters:
name
- the name value to set.- Returns:
- the ClusterPrincipalAssignmentCheckNameRequest object itself.
-
type
public String type()
Get the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/principalAssignments.- Returns:
- the type value.
-
withType
public ClusterPrincipalAssignmentCheckNameRequest withType(String type)
Set the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/principalAssignments.- Parameters:
type
- the type value to set.- Returns:
- the ClusterPrincipalAssignmentCheckNameRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-