SslConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.SslConfiguration

Implements

public final class SslConfiguration
implements JsonSerializable<SslConfiguration>

The ssl configuration for scoring.

Constructor Summary

Constructor Description
SslConfiguration()

Creates an instance of SslConfiguration class.

Method Summary

Modifier and Type Method and Description
String cert()

Get the cert property: Cert data.

String cname()

Get the cname property: CNAME of the cert.

static SslConfiguration fromJson(JsonReader jsonReader)

Reads an instance of SslConfiguration from the JsonReader.

String key()

Get the key property: Key data.

String leafDomainLabel()

Get the leafDomainLabel property: Leaf domain label of public endpoint.

Boolean overwriteExistingDomain()

Get the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.

SslConfigStatus status()

Get the status property: Enable or disable ssl for scoring.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SslConfiguration withCert(String cert)

Set the cert property: Cert data.

SslConfiguration withCname(String cname)

Set the cname property: CNAME of the cert.

SslConfiguration withKey(String key)

Set the key property: Key data.

SslConfiguration withLeafDomainLabel(String leafDomainLabel)

Set the leafDomainLabel property: Leaf domain label of public endpoint.

SslConfiguration withOverwriteExistingDomain(Boolean overwriteExistingDomain)

Set the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.

SslConfiguration withStatus(SslConfigStatus status)

Set the status property: Enable or disable ssl for scoring.

Methods inherited from java.lang.Object

Constructor Details

SslConfiguration

public SslConfiguration()

Creates an instance of SslConfiguration class.

Method Details

cert

public String cert()

Get the cert property: Cert data.

Returns:

the cert value.

cname

public String cname()

Get the cname property: CNAME of the cert.

Returns:

the cname value.

fromJson

public static SslConfiguration fromJson(JsonReader jsonReader)

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.

key

public String key()

Get the key property: Key data.

Returns:

the key value.

leafDomainLabel

public String leafDomainLabel()

Get the leafDomainLabel property: Leaf domain label of public endpoint.

Returns:

the leafDomainLabel value.

overwriteExistingDomain

public Boolean overwriteExistingDomain()

Get the overwriteExistingDomain property: Indicates whether to overwrite existing domain label.

Returns:

the overwriteExistingDomain value.

status

public SslConfigStatus status()

Get the status property: Enable or disable ssl for scoring.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCert

public SslConfiguration withCert(String cert)

Set the cert property: Cert data.

Parameters:

cert - the cert value to set.

Returns:

the SslConfiguration object itself.

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.

withKey

public SslConfiguration withKey(String key)

Set the key property: Key data.

Parameters:

key - the key value to set.

Returns:

the SslConfiguration object itself.

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.

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.

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.

Applies to