/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.appservice.implementation; import com.microsoft.azure.management.appservice.DnsVerificationTestResult; import com.microsoft.azure.management.appservice.ErrorEntity; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.Resource; /** * Custom domain analysis. */ @JsonFlatten public class CustomHostnameAnalysisResultInner extends Resource { /** * <code>true</code> if hostname is already verified; * otherwise, <code>false</code>. */ @JsonProperty(value = "properties.isHostnameAlreadyVerified", access = JsonProperty.Access.WRITE_ONLY) private Boolean isHostnameAlreadyVerified; /** * DNS verification test result. Possible values include: 'Passed', * 'Failed', 'Skipped'. */ @JsonProperty(value = "properties.customDomainVerificationTest", access = JsonProperty.Access.WRITE_ONLY) private DnsVerificationTestResult customDomainVerificationTest; /** * Raw failure information if DNS verification fails. */ @JsonProperty(value = "properties.customDomainVerificationFailureInfo", access = JsonProperty.Access.WRITE_ONLY) private ErrorEntity customDomainVerificationFailureInfo; /** * <code>true</code> if there is a conflict on a scale unit; * otherwise, <code>false</code>. */ @JsonProperty(value = "properties.hasConflictOnScaleUnit", access = JsonProperty.Access.WRITE_ONLY) private Boolean hasConflictOnScaleUnit; /** * <code>true</code> if htere is a conflict across * subscriptions; otherwise, <code>false</code>. */ @JsonProperty(value = "properties.hasConflictAcrossSubscription", access = JsonProperty.Access.WRITE_ONLY) private Boolean hasConflictAcrossSubscription; /** * Name of the conflicting app on scale unit if it's within the same * subscription. */ @JsonProperty(value = "properties.conflictingAppResourceId", access = JsonProperty.Access.WRITE_ONLY) private String conflictingAppResourceId; /** * CName records controller can see for this hostname. */ @JsonProperty(value = "properties.cNameRecords") private List<String> cNameRecords; /** * TXT records controller can see for this hostname. */ @JsonProperty(value = "properties.txtRecords") private List<String> txtRecords; /** * A records controller can see for this hostname. */ @JsonProperty(value = "properties.aRecords") private List<String> aRecords; /** * Alternate CName records controller can see for this hostname. */ @JsonProperty(value = "properties.alternateCNameRecords") private List<String> alternateCNameRecords; /** * Alternate TXT records controller can see for this hostname. */ @JsonProperty(value = "properties.alternateTxtRecords") private List<String> alternateTxtRecords; /** * Get the isHostnameAlreadyVerified value. * * @return the isHostnameAlreadyVerified value */ public Boolean isHostnameAlreadyVerified() { return this.isHostnameAlreadyVerified; } /** * Get the customDomainVerificationTest value. * * @return the customDomainVerificationTest value */ public DnsVerificationTestResult customDomainVerificationTest() { return this.customDomainVerificationTest; } /** * Get the customDomainVerificationFailureInfo value. * * @return the customDomainVerificationFailureInfo value */ public ErrorEntity customDomainVerificationFailureInfo() { return this.customDomainVerificationFailureInfo; } /** * Get the hasConflictOnScaleUnit value. * * @return the hasConflictOnScaleUnit value */ public Boolean hasConflictOnScaleUnit() { return this.hasConflictOnScaleUnit; } /** * Get the hasConflictAcrossSubscription value. * * @return the hasConflictAcrossSubscription value */ public Boolean hasConflictAcrossSubscription() { return this.hasConflictAcrossSubscription; } /** * Get the conflictingAppResourceId value. * * @return the conflictingAppResourceId value */ public String conflictingAppResourceId() { return this.conflictingAppResourceId; } /** * Get the cNameRecords value. * * @return the cNameRecords value */ public List<String> cNameRecords() { return this.cNameRecords; } /** * Set the cNameRecords value. * * @param cNameRecords the cNameRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withCNameRecords(List<String> cNameRecords) { this.cNameRecords = cNameRecords; return this; } /** * Get the txtRecords value. * * @return the txtRecords value */ public List<String> txtRecords() { return this.txtRecords; } /** * Set the txtRecords value. * * @param txtRecords the txtRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withTxtRecords(List<String> txtRecords) { this.txtRecords = txtRecords; return this; } /** * Get the aRecords value. * * @return the aRecords value */ public List<String> aRecords() { return this.aRecords; } /** * Set the aRecords value. * * @param aRecords the aRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withARecords(List<String> aRecords) { this.aRecords = aRecords; return this; } /** * Get the alternateCNameRecords value. * * @return the alternateCNameRecords value */ public List<String> alternateCNameRecords() { return this.alternateCNameRecords; } /** * Set the alternateCNameRecords value. * * @param alternateCNameRecords the alternateCNameRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withAlternateCNameRecords(List<String> alternateCNameRecords) { this.alternateCNameRecords = alternateCNameRecords; return this; } /** * Get the alternateTxtRecords value. * * @return the alternateTxtRecords value */ public List<String> alternateTxtRecords() { return this.alternateTxtRecords; } /** * Set the alternateTxtRecords value. * * @param alternateTxtRecords the alternateTxtRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. */ public CustomHostnameAnalysisResultInner withAlternateTxtRecords(List<String> alternateTxtRecords) { this.alternateTxtRecords = alternateTxtRecords; return this; } }