CheckNameAvailabilityInput Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.CheckNameAvailabilityInput

public class CheckNameAvailabilityInput

Input of CheckNameAvailability API.

Constructor Summary

Constructor Description
CheckNameAvailabilityInput()

Creates an instance of CheckNameAvailabilityInput class.

Method Summary

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

Get the resource name to validate.

java.lang.String type()

Get the type of the resource whose name is to be validated.

CheckNameAvailabilityInput withName(String name)

Set the resource name to validate.

CheckNameAvailabilityInput withType(String type)

Set the type of the resource whose name is to be validated.

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()

Creates an instance of CheckNameAvailabilityInput class.

Method Details

name

public String name()

Get the resource name to validate.

Returns:

the name value

type

public String type()

Get the type of the resource whose name is to be validated.

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(String type)

Set the type of the resource whose name is to be validated.

Parameters:

type - the type value to set

Returns:

the CheckNameAvailabilityInput object itself.

Applies to