Class CustomHostnameAnalysisResultProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.CustomHostnameAnalysisResultProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CustomHostnameAnalysisResultProperties>
public final class CustomHostnameAnalysisResultProperties
extends Object
implements com.azure.json.JsonSerializable<CustomHostnameAnalysisResultProperties>
CustomHostnameAnalysisResult resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomHostnameAnalysisResultProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the alternateCNameRecords property: Alternate CName records controller can see for this hostname.Get the alternateTxtRecords property: Alternate TXT records controller can see for this hostname.aRecords()
Get the aRecords property: A records controller can see for this hostname.Get the cNameRecords property: CName records controller can see for this hostname.Get the conflictingAppResourceId property: Name of the conflicting app on scale unit if it's within the same subscription.Get the customDomainVerificationFailureInfo property: Raw failure information if DNS verification fails.Get the customDomainVerificationTest property: DNS verification test result.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of CustomHostnameAnalysisResultProperties from the JsonReader.Get the hasConflictAcrossSubscription property: <code>true</code> if there is a conflict across subscriptions; otherwise, <code>false</code>.Get the hasConflictOnScaleUnit property: <code>true</code> if there is a conflict on a scale unit; otherwise, <code>false</code>.Get the isHostnameAlreadyVerified property: <code>true</code> if hostname is already verified; otherwise, <code>false</code>.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the txtRecords property: TXT records controller can see for this hostname.void
validate()
Validates the instance.withAlternateCNameRecords
(List<String> alternateCNameRecords) Set the alternateCNameRecords property: Alternate CName records controller can see for this hostname.withAlternateTxtRecords
(List<String> alternateTxtRecords) Set the alternateTxtRecords property: Alternate TXT records controller can see for this hostname.withARecords
(List<String> aRecords) Set the aRecords property: A records controller can see for this hostname.withCNameRecords
(List<String> cNameRecords) Set the cNameRecords property: CName records controller can see for this hostname.withTxtRecords
(List<String> txtRecords) Set the txtRecords property: TXT records controller can see for this hostname.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CustomHostnameAnalysisResultProperties
public CustomHostnameAnalysisResultProperties()Creates an instance of CustomHostnameAnalysisResultProperties class.
-
-
Method Details
-
isHostnameAlreadyVerified
Get the isHostnameAlreadyVerified property: <code>true</code> if hostname is already verified; otherwise, <code>false</code>.- Returns:
- the isHostnameAlreadyVerified value.
-
customDomainVerificationTest
Get the customDomainVerificationTest property: DNS verification test result.- Returns:
- the customDomainVerificationTest value.
-
customDomainVerificationFailureInfo
Get the customDomainVerificationFailureInfo property: Raw failure information if DNS verification fails.- Returns:
- the customDomainVerificationFailureInfo value.
-
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
Get the hasConflictAcrossSubscription property: <code>true</code> if there is a conflict across subscriptions; otherwise, <code>false</code>.- Returns:
- the hasConflictAcrossSubscription value.
-
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
Get the cNameRecords property: CName records controller can see for this hostname.- Returns:
- the cNameRecords value.
-
withCNameRecords
Set the cNameRecords property: CName records controller can see for this hostname.- Parameters:
cNameRecords
- the cNameRecords value to set.- Returns:
- the CustomHostnameAnalysisResultProperties object itself.
-
txtRecords
Get the txtRecords property: TXT records controller can see for this hostname.- Returns:
- the txtRecords value.
-
withTxtRecords
Set the txtRecords property: TXT records controller can see for this hostname.- Parameters:
txtRecords
- the txtRecords value to set.- Returns:
- the CustomHostnameAnalysisResultProperties object itself.
-
aRecords
Get the aRecords property: A records controller can see for this hostname.- Returns:
- the aRecords value.
-
withARecords
Set the aRecords property: A records controller can see for this hostname.- Parameters:
aRecords
- the aRecords value to set.- Returns:
- the CustomHostnameAnalysisResultProperties object itself.
-
alternateCNameRecords
Get the alternateCNameRecords property: Alternate CName records controller can see for this hostname.- Returns:
- the alternateCNameRecords value.
-
withAlternateCNameRecords
public CustomHostnameAnalysisResultProperties 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 CustomHostnameAnalysisResultProperties object itself.
-
alternateTxtRecords
Get the alternateTxtRecords property: Alternate TXT records controller can see for this hostname.- Returns:
- the alternateTxtRecords value.
-
withAlternateTxtRecords
public CustomHostnameAnalysisResultProperties 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 CustomHostnameAnalysisResultProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<CustomHostnameAnalysisResultProperties>
- Throws:
IOException
-
fromJson
public static CustomHostnameAnalysisResultProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CustomHostnameAnalysisResultProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of CustomHostnameAnalysisResultProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the CustomHostnameAnalysisResultProperties.
-