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 Details

    • DomainOwnershipIdentifierProperties

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

    • ownershipId

      public String ownershipId()
      Get the ownershipId property: Ownership Id.
      Returns:
      the ownershipId value.
    • withOwnershipId

      public DomainOwnershipIdentifierProperties withOwnershipId(String ownershipId)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.