Class ServiceConfigListResultProperties

java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.ServiceConfigListResultProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ServiceConfigListResultProperties>
Direct Known Subclasses:
ServiceConfigResultProperties

public class ServiceConfigListResultProperties extends Object implements com.azure.json.JsonSerializable<ServiceConfigListResultProperties>
Service config response.
  • Constructor Details

    • ServiceConfigListResultProperties

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

    • serviceName

      public String serviceName()
      Get the serviceName property: Service Config Name.
      Returns:
      the serviceName value.
    • withServiceName

      public ServiceConfigListResultProperties withServiceName(String serviceName)
      Set the serviceName property: Service Config Name.
      Parameters:
      serviceName - the serviceName value to set.
      Returns:
      the ServiceConfigListResultProperties object itself.
    • fileName

      public String fileName()
      Get the fileName property: File Name.
      Returns:
      the fileName value.
    • withFileName

      public ServiceConfigListResultProperties withFileName(String fileName)
      Set the fileName property: File Name.
      Parameters:
      fileName - the fileName value to set.
      Returns:
      the ServiceConfigListResultProperties object itself.
    • content

      public String content()
      Get the content property: Content in the service config file.
      Returns:
      the content value.
    • withContent

      public ServiceConfigListResultProperties withContent(String content)
      Set the content property: Content in the service config file.
      Parameters:
      content - the content value to set.
      Returns:
      the ServiceConfigListResultProperties object itself.
    • componentName

      public String componentName()
      Get the componentName property: Component Name.
      Returns:
      the componentName value.
    • withComponentName

      public ServiceConfigListResultProperties withComponentName(String componentName)
      Set the componentName property: Component Name.
      Parameters:
      componentName - the componentName value to set.
      Returns:
      the ServiceConfigListResultProperties object itself.
    • type

      public String type()
      Get the type property: Config type.
      Returns:
      the type value.
    • withType

      public ServiceConfigListResultProperties withType(String type)
      Set the type property: Config type.
      Parameters:
      type - the type value to set.
      Returns:
      the ServiceConfigListResultProperties object itself.
    • path

      public String path()
      Get the path property: Config file path.
      Returns:
      the path value.
    • withPath

      public ServiceConfigListResultProperties withPath(String path)
      Set the path property: Config file path.
      Parameters:
      path - the path value to set.
      Returns:
      the ServiceConfigListResultProperties object itself.
    • customKeys

      public Map<String,String> customKeys()
      Get the customKeys property: The custom keys.
      Returns:
      the customKeys value.
    • withCustomKeys

      public ServiceConfigListResultProperties withCustomKeys(Map<String,String> customKeys)
      Set the customKeys property: The custom keys.
      Parameters:
      customKeys - the customKeys value to set.
      Returns:
      the ServiceConfigListResultProperties object itself.
    • defaultKeys

      Get the defaultKeys property: The default keys.
      Returns:
      the defaultKeys value.
    • withDefaultKeys

      Set the defaultKeys property: The default keys.
      Parameters:
      defaultKeys - the defaultKeys value to set.
      Returns:
      the ServiceConfigListResultProperties 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<ServiceConfigListResultProperties>
      Throws:
      IOException
    • fromJson

      public static ServiceConfigListResultProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ServiceConfigListResultProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ServiceConfigListResultProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ServiceConfigListResultProperties.