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 Details

    • HostnameBindingInner

      public HostnameBindingInner()
  • Method Details

    • withKind

      public HostnameBindingInner withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      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:
      validate in class ProxyOnlyResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.