Class HostnameBindingProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.HostnameBindingProperties
-
public final class HostnameBindingProperties extends Object
HostNameBinding resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description HostnameBindingProperties()
-
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.HostnameBindingPropertieswithAzureResourceName(String azureResourceName)Set the azureResourceName property: Azure resource name.HostnameBindingPropertieswithAzureResourceType(AzureResourceType azureResourceType)Set the azureResourceType property: Azure resource type.HostnameBindingPropertieswithCustomHostnameDnsRecordType(CustomHostnameDnsRecordType customHostnameDnsRecordType)Set the customHostnameDnsRecordType property: Custom DNS record type.HostnameBindingPropertieswithDomainId(String domainId)Set the domainId property: Fully qualified ARM domain resource URI.HostnameBindingPropertieswithHostnameType(HostnameType hostnameType)Set the hostnameType property: Hostname type.HostnameBindingPropertieswithSiteName(String siteName)Set the siteName property: App Service app name.HostnameBindingPropertieswithSslState(SslState sslState)Set the sslState property: SSL type.HostnameBindingPropertieswithThumbprint(String thumbprint)Set the thumbprint property: SSL certificate thumbprint.
-
-
-
Method Detail
-
siteName
public String siteName()
Get the siteName property: App Service app name.- Returns:
- the siteName value.
-
withSiteName
public HostnameBindingProperties withSiteName(String siteName)
Set the siteName property: App Service app name.- Parameters:
siteName- the siteName value to set.- Returns:
- the HostnameBindingProperties object itself.
-
domainId
public String domainId()
Get the domainId property: Fully qualified ARM domain resource URI.- Returns:
- the domainId value.
-
withDomainId
public HostnameBindingProperties withDomainId(String domainId)
Set the domainId property: Fully qualified ARM domain resource URI.- Parameters:
domainId- the domainId value to set.- Returns:
- the HostnameBindingProperties object itself.
-
azureResourceName
public String azureResourceName()
Get the azureResourceName property: Azure resource name.- Returns:
- the azureResourceName value.
-
withAzureResourceName
public HostnameBindingProperties withAzureResourceName(String azureResourceName)
Set the azureResourceName property: Azure resource name.- Parameters:
azureResourceName- the azureResourceName value to set.- Returns:
- the HostnameBindingProperties object itself.
-
azureResourceType
public AzureResourceType azureResourceType()
Get the azureResourceType property: Azure resource type.- Returns:
- the azureResourceType value.
-
withAzureResourceType
public HostnameBindingProperties withAzureResourceType(AzureResourceType azureResourceType)
Set the azureResourceType property: Azure resource type.- Parameters:
azureResourceType- the azureResourceType value to set.- Returns:
- the HostnameBindingProperties object itself.
-
customHostnameDnsRecordType
public CustomHostnameDnsRecordType customHostnameDnsRecordType()
Get the customHostnameDnsRecordType property: Custom DNS record type.- Returns:
- the customHostnameDnsRecordType value.
-
withCustomHostnameDnsRecordType
public HostnameBindingProperties withCustomHostnameDnsRecordType(CustomHostnameDnsRecordType customHostnameDnsRecordType)
Set the customHostnameDnsRecordType property: Custom DNS record type.- Parameters:
customHostnameDnsRecordType- the customHostnameDnsRecordType value to set.- Returns:
- the HostnameBindingProperties object itself.
-
hostnameType
public HostnameType hostnameType()
Get the hostnameType property: Hostname type.- Returns:
- the hostnameType value.
-
withHostnameType
public HostnameBindingProperties withHostnameType(HostnameType hostnameType)
Set the hostnameType property: Hostname type.- Parameters:
hostnameType- the hostnameType value to set.- Returns:
- the HostnameBindingProperties object itself.
-
sslState
public SslState sslState()
Get the sslState property: SSL type.- Returns:
- the sslState value.
-
withSslState
public HostnameBindingProperties withSslState(SslState sslState)
Set the sslState property: SSL type.- Parameters:
sslState- the sslState value to set.- Returns:
- the HostnameBindingProperties object itself.
-
thumbprint
public String thumbprint()
Get the thumbprint property: SSL certificate thumbprint.- Returns:
- the thumbprint value.
-
withThumbprint
public HostnameBindingProperties withThumbprint(String thumbprint)
Set the thumbprint property: SSL certificate thumbprint.- Parameters:
thumbprint- the thumbprint value to set.- Returns:
- the HostnameBindingProperties 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.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-