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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncert()Get the cert property: Cert data.cname()Get the cname property: CNAME of the cert.static SslConfigurationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SslConfiguration from the JsonReader.key()Get the key property: Key data.Get the leafDomainLabel property: Leaf domain label of public endpoint.Get the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.status()Get the status property: Enable or disable ssl for scoring.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the cert property: Cert data.Set the cname property: CNAME of the cert.Set the key property: Key data.withLeafDomainLabel(String leafDomainLabel) Set the leafDomainLabel property: Leaf domain label of public endpoint.withOverwriteExistingDomain(Boolean overwriteExistingDomain) Set the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.withStatus(SslConfigStatus status) Set the status property: Enable or disable ssl for scoring.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SslConfiguration
public SslConfiguration()Creates an instance of SslConfiguration class.
-
-
Method Details
-
status
Get the status property: Enable or disable ssl for scoring.- Returns:
- the status value.
-
withStatus
Set the status property: Enable or disable ssl for scoring.- Parameters:
status- the status value to set.- Returns:
- the SslConfiguration object itself.
-
cert
Get the cert property: Cert data.- Returns:
- the cert value.
-
withCert
Set the cert property: Cert data.- Parameters:
cert- the cert value to set.- Returns:
- the SslConfiguration object itself.
-
key
Get the key property: Key data.- Returns:
- the key value.
-
withKey
Set the key property: Key data.- Parameters:
key- the key value to set.- Returns:
- the SslConfiguration object itself.
-
cname
Get the cname property: CNAME of the cert.- Returns:
- the cname value.
-
withCname
Set the cname property: CNAME of the cert.- Parameters:
cname- the cname value to set.- Returns:
- the SslConfiguration object itself.
-
leafDomainLabel
Get the leafDomainLabel property: Leaf domain label of public endpoint.- Returns:
- the leafDomainLabel value.
-
withLeafDomainLabel
Set the leafDomainLabel property: Leaf domain label of public endpoint.- Parameters:
leafDomainLabel- the leafDomainLabel value to set.- Returns:
- the SslConfiguration object itself.
-
overwriteExistingDomain
Get the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.- Returns:
- the overwriteExistingDomain value.
-
withOverwriteExistingDomain
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SslConfiguration>- Throws:
IOException
-
fromJson
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.
-