CheckNameAvailabilityInput Class

  • java.lang.Object
    • com.microsoft.azure.management.support.v2020_04_01.CheckNameAvailabilityInput

public class CheckNameAvailabilityInput

Input of CheckNameAvailability API.

Constructor Summary

Constructor Description
CheckNameAvailabilityInput()

Method Summary

Modifier and Type Method and Description
java.lang.String name()

Get the resource name to validate.

Type type()

Get the type of resource.

CheckNameAvailabilityInput withName(String name)

Set the resource name to validate.

CheckNameAvailabilityInput withType(Type type)

Set the type of resource.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CheckNameAvailabilityInput

public CheckNameAvailabilityInput()

Method Details

name

public String name()

Get the resource name to validate.

Returns:

the name value

type

public Type type()

Get the type of resource. Possible values include: 'Microsoft.Support/supportTickets', 'Microsoft.Support/communications'.

Returns:

the type value

withName

public CheckNameAvailabilityInput withName(String name)

Set the resource name to validate.

Parameters:

name - the name value to set

Returns:

the CheckNameAvailabilityInput object itself.

withType

public CheckNameAvailabilityInput withType(Type type)

Set the type of resource. Possible values include: 'Microsoft.Support/supportTickets', 'Microsoft.Support/communications'.

Parameters:

type - the type value to set

Returns:

the CheckNameAvailabilityInput object itself.

Applies to