你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HostName Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. HostName
- com.
public class HostName
Details of a hostname derived from a domain.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
azureResourceName()
Get the azureResourceName value. |
Azure |
azureResourceType()
Get the azureResourceType value. |
Custom |
customHostNameDnsRecordType()
Get the customHostNameDnsRecordType value. |
Host |
hostNameType()
Get the hostNameType value. |
String |
name()
Get the name value. |
List<String> |
siteNames()
Get the siteNames value. |
Host |
withAzureResourceName(String azureResourceName)
Set the azureResourceName value. |
Host |
withAzureResourceType(AzureResourceType azureResourceType)
Set the azureResourceType value. |
Host |
withCustomHostNameDnsRecordType(CustomHostNameDnsRecordType customHostNameDnsRecordType)
Set the customHostNameDnsRecordType value. |
Host |
withHostNameType(HostNameType hostNameType)
Set the hostNameType value. |
Host |
withName(String name)
Set the name value. |
Host |
withSiteNames(List<String> siteNames)
Set the siteNames value. |
Method Details
azureResourceName
public String azureResourceName()
Get the azureResourceName value.
Returns:
azureResourceType
public AzureResourceType azureResourceType()
Get the azureResourceType value.
Returns:
customHostNameDnsRecordType
public CustomHostNameDnsRecordType customHostNameDnsRecordType()
Get the customHostNameDnsRecordType value.
Returns:
hostNameType
public HostNameType hostNameType()
Get the hostNameType value.
Returns:
name
public String name()
Get the name value.
Returns:
siteNames
public List
Get the siteNames value.
Returns:
withAzureResourceName
public HostName withAzureResourceName(String azureResourceName)
Set the azureResourceName value.
Parameters:
Returns:
withAzureResourceType
public HostName withAzureResourceType(AzureResourceType azureResourceType)
Set the azureResourceType value.
Parameters:
Returns:
withCustomHostNameDnsRecordType
public HostName withCustomHostNameDnsRecordType(CustomHostNameDnsRecordType customHostNameDnsRecordType)
Set the customHostNameDnsRecordType value.
Parameters:
Returns:
withHostNameType
public HostName withHostNameType(HostNameType hostNameType)
Set the hostNameType value.
Parameters:
Returns:
withName
public HostName withName(String name)
Set the name value.
Parameters:
Returns:
withSiteNames
public HostName withSiteNames(List
Set the siteNames value.
Parameters:
Returns: