Class CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo
java.lang.Object
com.azure.resourcemanager.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo>
public final class CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo
extends Object
implements com.azure.json.JsonSerializable<CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo>
Raw failure information if DNS verification fails.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Get the code property: Standardized string to programmatically identify the error.details()Get the details property: Details or the error.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo from the JsonReader.message()Get the message property: Detailed error description and debugging information.target()Get the target property: Detailed error description and debugging information.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDetails(List<CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem> details) Set the details property: Details or the error.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo
public CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo()Creates an instance of CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo class.
-
-
Method Details
-
code
Get the code property: Standardized string to programmatically identify the error.- Returns:
- the code value.
-
message
Get the message property: Detailed error description and debugging information.- Returns:
- the message value.
-
target
Get the target property: Detailed error description and debugging information.- Returns:
- the target value.
-
details
Get the details property: Details or the error.- Returns:
- the details value.
-
withDetails
public CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo withDetails(List<CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem> details) Set the details property: Details or the error.- Parameters:
details- the details value to set.- Returns:
- the CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo>- Throws:
IOException
-
fromJson
public static CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo 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 CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo.
-