Class DataConnectionCheckNameRequest
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.DataConnectionCheckNameRequest
-
public final class DataConnectionCheckNameRequest extends Object
A data connection check name availability request.
-
-
Constructor Summary
Constructors Constructor Description DataConnectionCheckNameRequest()
Creates an instance of DataConnectionCheckNameRequest class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Data Connection name.String
type()
Get the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/databases/dataConnections.void
validate()
Validates the instance.DataConnectionCheckNameRequest
withName(String name)
Set the name property: Data Connection name.DataConnectionCheckNameRequest
withType(String type)
Set the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/databases/dataConnections.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Data Connection name.- Returns:
- the name value.
-
withName
public DataConnectionCheckNameRequest withName(String name)
Set the name property: Data Connection name.- Parameters:
name
- the name value to set.- Returns:
- the DataConnectionCheckNameRequest object itself.
-
type
public String type()
Get the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/databases/dataConnections.- Returns:
- the type value.
-
withType
public DataConnectionCheckNameRequest withType(String type)
Set the type property: The type of resource, Microsoft.Synapse/workspaces/kustoPools/databases/dataConnections.- Parameters:
type
- the type value to set.- Returns:
- the DataConnectionCheckNameRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-