Class DomainRecommendationSearchParameters

java.lang.Object
com.azure.resourcemanager.appservice.models.DomainRecommendationSearchParameters
All Implemented Interfaces:
com.azure.json.JsonSerializable<DomainRecommendationSearchParameters>

public final class DomainRecommendationSearchParameters extends Object implements com.azure.json.JsonSerializable<DomainRecommendationSearchParameters>
Domain recommendation search parameters.
  • Constructor Details

    • DomainRecommendationSearchParameters

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

    • keywords

      public String keywords()
      Get the keywords property: Keywords to be used for generating domain recommendations.
      Returns:
      the keywords value.
    • withKeywords

      public DomainRecommendationSearchParameters withKeywords(String keywords)
      Set the keywords property: Keywords to be used for generating domain recommendations.
      Parameters:
      keywords - the keywords value to set.
      Returns:
      the DomainRecommendationSearchParameters object itself.
    • maxDomainRecommendations

      public Integer maxDomainRecommendations()
      Get the maxDomainRecommendations property: Maximum number of recommendations.
      Returns:
      the maxDomainRecommendations value.
    • withMaxDomainRecommendations

      public DomainRecommendationSearchParameters withMaxDomainRecommendations(Integer maxDomainRecommendations)
      Set the maxDomainRecommendations property: Maximum number of recommendations.
      Parameters:
      maxDomainRecommendations - the maxDomainRecommendations value to set.
      Returns:
      the DomainRecommendationSearchParameters 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<DomainRecommendationSearchParameters>
      Throws:
      IOException
    • fromJson

      public static DomainRecommendationSearchParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DomainRecommendationSearchParameters from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DomainRecommendationSearchParameters 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 DomainRecommendationSearchParameters.