Class HostnameBindingInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.HostnameBindingInner
-
public final class HostnameBindingInner extends ProxyOnlyResource
A hostname binding object.
-
-
Constructor Summary
Constructors Constructor Description HostnameBindingInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringazureResourceName()Get the azureResourceName property: Azure resource name.AzureResourceTypeazureResourceType()Get the azureResourceType property: Azure resource type.CustomHostnameDnsRecordTypecustomHostnameDnsRecordType()Get the customHostnameDnsRecordType property: Custom DNS record type.StringdomainId()Get the domainId property: Fully qualified ARM domain resource URI.HostnameTypehostnameType()Get the hostnameType property: Hostname type.StringsiteName()Get the siteName property: App Service app name.SslStatesslState()Get the sslState property: SSL type.Stringthumbprint()Get the thumbprint property: SSL certificate thumbprint.voidvalidate()Validates the instance.StringvirtualIp()Get the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.HostnameBindingInnerwithAzureResourceName(String azureResourceName)Set the azureResourceName property: Azure resource name.HostnameBindingInnerwithAzureResourceType(AzureResourceType azureResourceType)Set the azureResourceType property: Azure resource type.HostnameBindingInnerwithCustomHostnameDnsRecordType(CustomHostnameDnsRecordType customHostnameDnsRecordType)Set the customHostnameDnsRecordType property: Custom DNS record type.HostnameBindingInnerwithDomainId(String domainId)Set the domainId property: Fully qualified ARM domain resource URI.HostnameBindingInnerwithHostnameType(HostnameType hostnameType)Set the hostnameType property: Hostname type.HostnameBindingInnerwithKind(String kind)Set the kind property: Kind of resource.HostnameBindingInnerwithSiteName(String siteName)Set the siteName property: App Service app name.HostnameBindingInnerwithSslState(SslState sslState)Set the sslState property: SSL type.HostnameBindingInnerwithThumbprint(String thumbprint)Set the thumbprint property: SSL certificate thumbprint.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public HostnameBindingInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
siteName
public String siteName()
Get the siteName property: App Service app name.- Returns:
- the siteName value.
-
withSiteName
public HostnameBindingInner withSiteName(String siteName)
Set the siteName property: App Service app name.- Parameters:
siteName- the siteName value to set.- Returns:
- the HostnameBindingInner object itself.
-
domainId
public String domainId()
Get the domainId property: Fully qualified ARM domain resource URI.- Returns:
- the domainId value.
-
withDomainId
public HostnameBindingInner withDomainId(String domainId)
Set the domainId property: Fully qualified ARM domain resource URI.- Parameters:
domainId- the domainId value to set.- Returns:
- the HostnameBindingInner object itself.
-
azureResourceName
public String azureResourceName()
Get the azureResourceName property: Azure resource name.- Returns:
- the azureResourceName value.
-
withAzureResourceName
public HostnameBindingInner withAzureResourceName(String azureResourceName)
Set the azureResourceName property: Azure resource name.- Parameters:
azureResourceName- the azureResourceName value to set.- Returns:
- the HostnameBindingInner object itself.
-
azureResourceType
public AzureResourceType azureResourceType()
Get the azureResourceType property: Azure resource type.- Returns:
- the azureResourceType value.
-
withAzureResourceType
public HostnameBindingInner withAzureResourceType(AzureResourceType azureResourceType)
Set the azureResourceType property: Azure resource type.- Parameters:
azureResourceType- the azureResourceType value to set.- Returns:
- the HostnameBindingInner object itself.
-
customHostnameDnsRecordType
public CustomHostnameDnsRecordType customHostnameDnsRecordType()
Get the customHostnameDnsRecordType property: Custom DNS record type.- Returns:
- the customHostnameDnsRecordType value.
-
withCustomHostnameDnsRecordType
public HostnameBindingInner withCustomHostnameDnsRecordType(CustomHostnameDnsRecordType customHostnameDnsRecordType)
Set the customHostnameDnsRecordType property: Custom DNS record type.- Parameters:
customHostnameDnsRecordType- the customHostnameDnsRecordType value to set.- Returns:
- the HostnameBindingInner object itself.
-
hostnameType
public HostnameType hostnameType()
Get the hostnameType property: Hostname type.- Returns:
- the hostnameType value.
-
withHostnameType
public HostnameBindingInner withHostnameType(HostnameType hostnameType)
Set the hostnameType property: Hostname type.- Parameters:
hostnameType- the hostnameType value to set.- Returns:
- the HostnameBindingInner object itself.
-
sslState
public SslState sslState()
Get the sslState property: SSL type.- Returns:
- the sslState value.
-
withSslState
public HostnameBindingInner withSslState(SslState sslState)
Set the sslState property: SSL type.- Parameters:
sslState- the sslState value to set.- Returns:
- the HostnameBindingInner object itself.
-
thumbprint
public String thumbprint()
Get the thumbprint property: SSL certificate thumbprint.- Returns:
- the thumbprint value.
-
withThumbprint
public HostnameBindingInner withThumbprint(String thumbprint)
Set the thumbprint property: SSL certificate thumbprint.- Parameters:
thumbprint- the thumbprint value to set.- Returns:
- the HostnameBindingInner object itself.
-
virtualIp
public String virtualIp()
Get the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.- Returns:
- the virtualIp value.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-