CustomDomainParameters Class

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

public class CustomDomainParameters

The customDomain JSON object required for custom domain creation or update.

Constructor Summary

Constructor Description
CustomDomainParameters()

Method Summary

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

Get the host name of the custom domain.

CustomDomainParameters withHostName(String hostName)

Set the host name of the custom domain.

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

CustomDomainParameters

public CustomDomainParameters()

Method Details

hostName

public String hostName()

Get the host name of the custom domain. Must be a domain name.

Returns:

the hostName value

withHostName

public CustomDomainParameters withHostName(String hostName)

Set the host name of the custom domain. Must be a domain name.

Parameters:

hostName - the hostName value to set

Returns:

the CustomDomainParameters object itself.

Applies to