Class DomainOwnershipIdentifierProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.DomainOwnershipIdentifierProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DomainOwnershipIdentifierProperties>
public final class DomainOwnershipIdentifierProperties
extends Object
implements com.azure.json.JsonSerializable<DomainOwnershipIdentifierProperties>
DomainOwnershipIdentifier resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DomainOwnershipIdentifierProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DomainOwnershipIdentifierProperties from the JsonReader.Get the ownershipId property: Ownership Id.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withOwnershipId
(String ownershipId) Set the ownershipId property: Ownership Id.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
-
DomainOwnershipIdentifierProperties
public DomainOwnershipIdentifierProperties()Creates an instance of DomainOwnershipIdentifierProperties class.
-
-
Method Details
-
ownershipId
Get the ownershipId property: Ownership Id.- Returns:
- the ownershipId value.
-
withOwnershipId
Set the ownershipId property: Ownership Id.- Parameters:
ownershipId
- the ownershipId value to set.- Returns:
- the DomainOwnershipIdentifierProperties 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<DomainOwnershipIdentifierProperties>
- Throws:
IOException
-
fromJson
public static DomainOwnershipIdentifierProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DomainOwnershipIdentifierProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DomainOwnershipIdentifierProperties 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 DomainOwnershipIdentifierProperties.
-