CheckNameAvailabilityParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.appconfiguration.models.CheckNameAvailabilityParameters

public final class CheckNameAvailabilityParameters

Parameters used for checking whether a resource name is available.

Constructor Summary

Constructor Description
CheckNameAvailabilityParameters()

Creates an instance of CheckNameAvailabilityParameters class.

Method Summary

Modifier and Type Method and Description
String name()

Get the name property: The name to check for availability.

ConfigurationResourceType type()

Get the type property: The resource type to check for name availability.

void validate()

Validates the instance.

CheckNameAvailabilityParameters withName(String name)

Set the name property: The name to check for availability.

CheckNameAvailabilityParameters withType(ConfigurationResourceType type)

Set the type property: The resource type to check for name availability.

Methods inherited from java.lang.Object

Constructor Details

CheckNameAvailabilityParameters

public CheckNameAvailabilityParameters()

Creates an instance of CheckNameAvailabilityParameters class.

Method Details

name

public String name()

Get the name property: The name to check for availability.

Returns:

the name value.

type

public ConfigurationResourceType type()

Get the type property: The resource type to check for name availability.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withName

public CheckNameAvailabilityParameters withName(String name)

Set the name property: The name to check for availability.

Parameters:

name - the name value to set.

Returns:

the CheckNameAvailabilityParameters object itself.

withType

public CheckNameAvailabilityParameters withType(ConfigurationResourceType type)

Set the type property: The resource type to check for name availability.

Parameters:

type - the type value to set.

Returns:

the CheckNameAvailabilityParameters object itself.

Applies to