Class SslConfiguration

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

public final class SslConfiguration extends Object implements com.azure.json.JsonSerializable<SslConfiguration>
The ssl configuration for scoring.
  • Constructor Details

    • SslConfiguration

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

    • status

      public SslConfigStatus status()
      Get the status property: Enable or disable ssl for scoring.
      Returns:
      the status value.
    • withStatus

      public SslConfiguration withStatus(SslConfigStatus status)
      Set the status property: Enable or disable ssl for scoring.
      Parameters:
      status - the status value to set.
      Returns:
      the SslConfiguration object itself.
    • cert

      public String cert()
      Get the cert property: Cert data.
      Returns:
      the cert value.
    • withCert

      public SslConfiguration withCert(String cert)
      Set the cert property: Cert data.
      Parameters:
      cert - the cert value to set.
      Returns:
      the SslConfiguration object itself.
    • key

      public String key()
      Get the key property: Key data.
      Returns:
      the key value.
    • withKey

      public SslConfiguration withKey(String key)
      Set the key property: Key data.
      Parameters:
      key - the key value to set.
      Returns:
      the SslConfiguration object itself.
    • cname

      public String cname()
      Get the cname property: CNAME of the cert.
      Returns:
      the cname value.
    • withCname

      public SslConfiguration withCname(String cname)
      Set the cname property: CNAME of the cert.
      Parameters:
      cname - the cname value to set.
      Returns:
      the SslConfiguration object itself.
    • leafDomainLabel

      public String leafDomainLabel()
      Get the leafDomainLabel property: Leaf domain label of public endpoint.
      Returns:
      the leafDomainLabel value.
    • withLeafDomainLabel

      public SslConfiguration withLeafDomainLabel(String leafDomainLabel)
      Set the leafDomainLabel property: Leaf domain label of public endpoint.
      Parameters:
      leafDomainLabel - the leafDomainLabel value to set.
      Returns:
      the SslConfiguration object itself.
    • overwriteExistingDomain

      public Boolean overwriteExistingDomain()
      Get the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.
      Returns:
      the overwriteExistingDomain value.
    • withOverwriteExistingDomain

      public SslConfiguration withOverwriteExistingDomain(Boolean overwriteExistingDomain)
      Set the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.
      Parameters:
      overwriteExistingDomain - the overwriteExistingDomain value to set.
      Returns:
      the SslConfiguration 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<SslConfiguration>
      Throws:
      IOException
    • fromJson

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