CheckNameAvailabilityParameters Class

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

public final class CheckNameAvailabilityParameters

Resource Name availability input parameters - Resource type and resource name.

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: Resource name for which availability needs to be checked.

String type()

Get the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.

void validate()

Validates the instance.

CheckNameAvailabilityParameters withName(String name)

Set the name property: Resource name for which availability needs to be checked.

CheckNameAvailabilityParameters withType(String type)

Set the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.

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: Resource name for which availability needs to be checked.

Returns:

the name value.

type

public String type()

Get the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withName

public CheckNameAvailabilityParameters withName(String name)

Set the name property: Resource name for which availability needs to be checked.

Parameters:

name - the name value to set.

Returns:

the CheckNameAvailabilityParameters object itself.

withType

public CheckNameAvailabilityParameters withType(String type)

Set the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.

Parameters:

type - the type value to set.

Returns:

the CheckNameAvailabilityParameters object itself.

Applies to