NameAvailabilityParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.NameAvailabilityParameters

public final class NameAvailabilityParameters

Data POST-ed to the nameAvailability action.

Constructor Summary

Constructor Description
NameAvailabilityParameters()

Creates an instance of NameAvailabilityParameters class.

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.

NameAvailabilityParameters withName(String name)

Set the name property: The resource name to validate.

NameAvailabilityParameters 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:

the name value.

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:

the type value.

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:

name - the name value to set.

Returns:

the NameAvailabilityParameters object itself.

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:

type - the type value to set.

Returns:

the NameAvailabilityParameters object itself.

Applies to