ValidateCustomDomainInput Class

  • java.lang.Object
    • com.azure.resourcemanager.frontdoor.models.ValidateCustomDomainInput

public final class ValidateCustomDomainInput

Input of the custom domain to be validated for DNS mapping.

Constructor Summary

Constructor Description
ValidateCustomDomainInput()

Creates an instance of ValidateCustomDomainInput class.

Method Summary

Modifier and Type Method and Description
String hostname()

Get the hostname property: The host name of the custom domain.

void validate()

Validates the instance.

ValidateCustomDomainInput withHostname(String hostname)

Set the hostname property: The host name of the custom domain.

Methods inherited from java.lang.Object

Constructor Details

ValidateCustomDomainInput

public ValidateCustomDomainInput()

Creates an instance of ValidateCustomDomainInput class.

Method Details

hostname

public String hostname()

Get the hostname property: The host name of the custom domain. Must be a domain name.

Returns:

the hostname value.

validate

public void validate()

Validates the instance.

withHostname

public ValidateCustomDomainInput withHostname(String hostname)

Set the hostname property: The host name of the custom domain. Must be a domain name.

Parameters:

hostname - the hostname value to set.

Returns:

the ValidateCustomDomainInput object itself.

Applies to