Class HostnameBindingProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.HostnameBindingProperties

public final class HostnameBindingProperties extends Object
HostNameBinding resource specific properties.
  • Constructor Details

    • HostnameBindingProperties

      public HostnameBindingProperties()
  • Method Details

    • 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.