Class HostnameBindingInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.HostnameBindingInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
A hostname binding object.
-
Constructor Summary
Constructors -
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.static HostnameBindingInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HostnameBindingInner from the JsonReader.Get the hostnameType property: Hostname type.id()Get the id property: Fully qualified resource Id for the resource.name()Get the name property: The name of the resource.siteName()Get the siteName property: App Service app name.sslState()Get the sslState property: SSL type.Get the thumbprint property: SSL certificate thumbprint.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()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 ProxyOnlyResource
kindMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
HostnameBindingInner
public HostnameBindingInner()Creates an instance of HostnameBindingInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
typein classProxyOnlyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classProxyOnlyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classProxyOnlyResource- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin 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
-
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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
public static HostnameBindingInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of HostnameBindingInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of HostnameBindingInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the HostnameBindingInner.
-