NameAvailabilityParameters Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. NameAvailabilityParameters
- com.
public final class NameAvailabilityParameters
Data POST-ed to the nameAvailability action.
Constructor Summary
| Constructor | Description |
|---|---|
| NameAvailabilityParameters() |
Creates an instance of Name |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
name()
Get the name property: The resource name to validate. |
| String |
type()
Get the type property: The resource type. |
| void |
validate()
Validates the instance. |
|
Name |
withName(String name)
Set the name property: The resource name to validate. |
|
Name |
withType(String type)
Set the type property: The resource type. |
Methods inherited from java.lang.Object
Constructor Details
NameAvailabilityParameters
public NameAvailabilityParameters()
Creates an instance of NameAvailabilityParameters class.
Method Details
name
public String name()
Get the name property: The resource name to validate. e.g."my-resource-name".
Returns:
type
public String type()
Get the type property: The resource type. Can be "Microsoft.SignalRService/SignalR", "Microsoft.SignalRService/WebPubSub", "Microsoft.SignalRService/SignalR/replicas" or "Microsoft.SignalRService/WebPubSub/replicas".
Returns:
validate
public void validate()
Validates the instance.
withName
public NameAvailabilityParameters withName(String name)
Set the name property: The resource name to validate. e.g."my-resource-name".
Parameters:
Returns:
withType
public NameAvailabilityParameters withType(String type)
Set the type property: The resource type. Can be "Microsoft.SignalRService/SignalR", "Microsoft.SignalRService/WebPubSub", "Microsoft.SignalRService/SignalR/replicas" or "Microsoft.SignalRService/WebPubSub/replicas".
Parameters:
Returns: