Class CustomHostnameAnalysisResultInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.CustomHostnameAnalysisResultInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class CustomHostnameAnalysisResultInner extends ProxyOnlyResource
Custom domain analysis.
  • Constructor Details

    • CustomHostnameAnalysisResultInner

      public CustomHostnameAnalysisResultInner()
      Creates an instance of CustomHostnameAnalysisResultInner class.
  • Method Details

    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class ProxyOnlyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class ProxyOnlyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class ProxyOnlyResource
      Returns:
      the id value.
    • withKind

      public CustomHostnameAnalysisResultInner 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.
    • isHostnameAlreadyVerified

      public Boolean isHostnameAlreadyVerified()
      Get the isHostnameAlreadyVerified property: <code>true</code> if hostname is already verified; otherwise, <code>false</code>.
      Returns:
      the isHostnameAlreadyVerified value.
    • customDomainVerificationTest

      public DnsVerificationTestResult customDomainVerificationTest()
      Get the customDomainVerificationTest property: DNS verification test result.
      Returns:
      the customDomainVerificationTest value.
    • customDomainVerificationFailureInfo

      public ErrorEntity customDomainVerificationFailureInfo()
      Get the customDomainVerificationFailureInfo property: Raw failure information if DNS verification fails.
      Returns:
      the customDomainVerificationFailureInfo value.
    • hasConflictOnScaleUnit

      public Boolean hasConflictOnScaleUnit()
      Get the hasConflictOnScaleUnit property: <code>true</code> if there is a conflict on a scale unit; otherwise, <code>false</code>.
      Returns:
      the hasConflictOnScaleUnit value.
    • hasConflictAcrossSubscription

      public Boolean hasConflictAcrossSubscription()
      Get the hasConflictAcrossSubscription property: <code>true</code> if there is a conflict across subscriptions; otherwise, <code>false</code>.
      Returns:
      the hasConflictAcrossSubscription value.
    • conflictingAppResourceId

      public String conflictingAppResourceId()
      Get the conflictingAppResourceId property: Name of the conflicting app on scale unit if it's within the same subscription.
      Returns:
      the conflictingAppResourceId value.
    • cNameRecords

      public List<String> cNameRecords()
      Get the cNameRecords property: CName records controller can see for this hostname.
      Returns:
      the cNameRecords value.
    • withCNameRecords

      public CustomHostnameAnalysisResultInner withCNameRecords(List<String> cNameRecords)
      Set the cNameRecords property: CName records controller can see for this hostname.
      Parameters:
      cNameRecords - the cNameRecords value to set.
      Returns:
      the CustomHostnameAnalysisResultInner object itself.
    • txtRecords

      public List<String> txtRecords()
      Get the txtRecords property: TXT records controller can see for this hostname.
      Returns:
      the txtRecords value.
    • withTxtRecords

      public CustomHostnameAnalysisResultInner withTxtRecords(List<String> txtRecords)
      Set the txtRecords property: TXT records controller can see for this hostname.
      Parameters:
      txtRecords - the txtRecords value to set.
      Returns:
      the CustomHostnameAnalysisResultInner object itself.
    • aRecords

      public List<String> aRecords()
      Get the aRecords property: A records controller can see for this hostname.
      Returns:
      the aRecords value.
    • withARecords

      public CustomHostnameAnalysisResultInner withARecords(List<String> aRecords)
      Set the aRecords property: A records controller can see for this hostname.
      Parameters:
      aRecords - the aRecords value to set.
      Returns:
      the CustomHostnameAnalysisResultInner object itself.
    • alternateCNameRecords

      public List<String> alternateCNameRecords()
      Get the alternateCNameRecords property: Alternate CName records controller can see for this hostname.
      Returns:
      the alternateCNameRecords value.
    • withAlternateCNameRecords

      public CustomHostnameAnalysisResultInner withAlternateCNameRecords(List<String> alternateCNameRecords)
      Set the alternateCNameRecords property: Alternate CName records controller can see for this hostname.
      Parameters:
      alternateCNameRecords - the alternateCNameRecords value to set.
      Returns:
      the CustomHostnameAnalysisResultInner object itself.
    • alternateTxtRecords

      public List<String> alternateTxtRecords()
      Get the alternateTxtRecords property: Alternate TXT records controller can see for this hostname.
      Returns:
      the alternateTxtRecords value.
    • withAlternateTxtRecords

      public CustomHostnameAnalysisResultInner withAlternateTxtRecords(List<String> alternateTxtRecords)
      Set the alternateTxtRecords property: Alternate TXT records controller can see for this hostname.
      Parameters:
      alternateTxtRecords - the alternateTxtRecords value to set.
      Returns:
      the CustomHostnameAnalysisResultInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ProxyOnlyResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class ProxyOnlyResource
      Throws:
      IOException
    • fromJson

      public static CustomHostnameAnalysisResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of CustomHostnameAnalysisResultInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of CustomHostnameAnalysisResultInner 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 CustomHostnameAnalysisResultInner.