Class HostnameBindingInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.HostnameBindingInner
A hostname binding object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azureResourceName property: Azure resource name.Get the azureResourceType property: Azure resource type.Get the customHostnameDnsRecordType property: Custom DNS record type.domainId()
Get the domainId property: Fully qualified ARM domain resource URI.Get the hostnameType property: Hostname type.siteName()
Get the siteName property: App Service app name.sslState()
Get the sslState property: SSL type.Get the thumbprint property: SSL certificate thumbprint.void
validate()
Validates the instance.Get the virtualIp property: Virtual IP address assigned to the hostname if IP based SSL is enabled.withAzureResourceName
(String azureResourceName) Set the azureResourceName property: Azure resource name.withAzureResourceType
(AzureResourceType azureResourceType) Set the azureResourceType property: Azure resource type.withCustomHostnameDnsRecordType
(CustomHostnameDnsRecordType customHostnameDnsRecordType) Set the customHostnameDnsRecordType property: Custom DNS record type.withDomainId
(String domainId) Set the domainId property: Fully qualified ARM domain resource URI.withHostnameType
(HostnameType hostnameType) Set the hostnameType property: Hostname type.Set the kind property: Kind of resource.withSiteName
(String siteName) Set the siteName property: App Service app name.withSslState
(SslState sslState) Set the sslState property: SSL type.withThumbprint
(String thumbprint) Set the thumbprint property: SSL certificate thumbprint.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
HostnameBindingInner
public HostnameBindingInner()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
siteName
Get the siteName property: App Service app name.- Returns:
- the siteName value.
-
withSiteName
Set the siteName property: App Service app name.- Parameters:
siteName
- the siteName value to set.- Returns:
- the HostnameBindingInner object itself.
-
domainId
Get the domainId property: Fully qualified ARM domain resource URI.- Returns:
- the domainId value.
-
withDomainId
Set the domainId property: Fully qualified ARM domain resource URI.- Parameters:
domainId
- the domainId value to set.- Returns:
- the HostnameBindingInner object itself.
-
azureResourceName
Get the azureResourceName property: Azure resource name.- Returns:
- the azureResourceName value.
-
withAzureResourceName
Set the azureResourceName property: Azure resource name.- Parameters:
azureResourceName
- the azureResourceName value to set.- Returns:
- the HostnameBindingInner object itself.
-
azureResourceType
Get the azureResourceType property: Azure resource type.- Returns:
- the azureResourceType value.
-
withAzureResourceType
Set the azureResourceType property: Azure resource type.- Parameters:
azureResourceType
- the azureResourceType value to set.- Returns:
- the HostnameBindingInner object itself.
-
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
Get the hostnameType property: Hostname type.- Returns:
- the hostnameType value.
-
withHostnameType
Set the hostnameType property: Hostname type.- Parameters:
hostnameType
- the hostnameType value to set.- Returns:
- the HostnameBindingInner object itself.
-
sslState
Get the sslState property: SSL type.- Returns:
- the sslState value.
-
withSslState
Set the sslState property: SSL type.- Parameters:
sslState
- the sslState value to set.- Returns:
- the HostnameBindingInner object itself.
-
thumbprint
Get the thumbprint property: SSL certificate thumbprint.- Returns:
- the thumbprint value.
-
withThumbprint
Set the thumbprint property: SSL certificate thumbprint.- Parameters:
thumbprint
- the thumbprint value to set.- Returns:
- the HostnameBindingInner object itself.
-
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:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-