Class CheckNameAvailabilityInput
java.lang.Object
com.azure.resourcemanager.mediaservices.models.CheckNameAvailabilityInput
The input to the check name availability request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CheckNameAvailabilityInput class. -
Method Summary
-
Constructor Details
-
CheckNameAvailabilityInput
public CheckNameAvailabilityInput()Creates an instance of CheckNameAvailabilityInput class.
-
-
Method Details
-
name
Get the name property: The account name.- Returns:
- the name value.
-
withName
Set the name property: The account name.- Parameters:
name
- the name value to set.- Returns:
- the CheckNameAvailabilityInput object itself.
-
type
Get the type property: The account type. For a Media Services account, this should be 'MediaServices'.- Returns:
- the type value.
-
withType
Set the type property: The account type. For a Media Services account, this should be 'MediaServices'.- Parameters:
type
- the type value to set.- Returns:
- the CheckNameAvailabilityInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-