NameAvailabilityRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.postgresql.models.NameAvailabilityRequest

public final class NameAvailabilityRequest

Request from client to check resource name availability.

Constructor Summary

Constructor Description
NameAvailabilityRequest()

Method Summary

Modifier and Type Method and Description
String name()

Get the name property: Resource name to verify.

String type()

Get the type property: Resource type used for verification.

void validate()

Validates the instance.

NameAvailabilityRequest withName(String name)

Set the name property: Resource name to verify.

NameAvailabilityRequest withType(String type)

Set the type property: Resource type used for verification.

Methods inherited from java.lang.Object

Constructor Details

NameAvailabilityRequest

public NameAvailabilityRequest()

Method Details

name

public String name()

Get the name property: Resource name to verify.

Returns:

the name value.

type

public String type()

Get the type property: Resource type used for verification.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withName

public NameAvailabilityRequest withName(String name)

Set the name property: Resource name to verify.

Parameters:

name - the name value to set.

Returns:

the NameAvailabilityRequest object itself.

withType

public NameAvailabilityRequest withType(String type)

Set the type property: Resource type used for verification.

Parameters:

type - the type value to set.

Returns:

the NameAvailabilityRequest object itself.

Applies to