다음을 통해 공유


CdnManagedHttpsParameters Class

public final class CdnManagedHttpsParameters
extends CustomDomainHttpsParameters

Defines the certificate source parameters using CDN managed certificate for enabling SSL.

Constructor Summary

Constructor Description
CdnManagedHttpsParameters()

Creates an instance of CdnManagedHttpsParameters class.

Method Summary

Modifier and Type Method and Description
CertificateSource certificateSource()

Get the certificateSource property: Defines the source of the SSL certificate.

CdnCertificateSourceParameters certificateSourceParameters()

Get the certificateSourceParameters property: Defines the certificate source parameters using CDN managed certificate for enabling SSL.

static CdnManagedHttpsParameters fromJson(JsonReader jsonReader)

Reads an instance of CdnManagedHttpsParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CdnManagedHttpsParameters withCertificateSourceParameters(CdnCertificateSourceParameters certificateSourceParameters)

Set the certificateSourceParameters property: Defines the certificate source parameters using CDN managed certificate for enabling SSL.

CdnManagedHttpsParameters withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)

Set the minimumTlsVersion property: TLS protocol version that will be used for Https.

CdnManagedHttpsParameters withProtocolType(ProtocolType protocolType)

Set the protocolType property: Defines the TLS extension protocol that is used for secure delivery.

Methods inherited from CustomDomainHttpsParameters

Methods inherited from java.lang.Object

Constructor Details

CdnManagedHttpsParameters

public CdnManagedHttpsParameters()

Creates an instance of CdnManagedHttpsParameters class.

Method Details

certificateSource

public CertificateSource certificateSource()

Get the certificateSource property: Defines the source of the SSL certificate.

Overrides:

CdnManagedHttpsParameters.certificateSource()

Returns:

the certificateSource value.

certificateSourceParameters

public CdnCertificateSourceParameters certificateSourceParameters()

Get the certificateSourceParameters property: Defines the certificate source parameters using CDN managed certificate for enabling SSL.

Returns:

the certificateSourceParameters value.

fromJson

public static CdnManagedHttpsParameters fromJson(JsonReader jsonReader)

Reads an instance of CdnManagedHttpsParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CdnManagedHttpsParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CdnManagedHttpsParameters.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

CdnManagedHttpsParameters.validate()

withCertificateSourceParameters

public CdnManagedHttpsParameters withCertificateSourceParameters(CdnCertificateSourceParameters certificateSourceParameters)

Set the certificateSourceParameters property: Defines the certificate source parameters using CDN managed certificate for enabling SSL.

Parameters:

certificateSourceParameters - the certificateSourceParameters value to set.

Returns:

the CdnManagedHttpsParameters object itself.

withMinimumTlsVersion

public CdnManagedHttpsParameters withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)

Set the minimumTlsVersion property: TLS protocol version that will be used for Https.

Overrides:

CdnManagedHttpsParameters.withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)

Parameters:

minimumTlsVersion

withProtocolType

public CdnManagedHttpsParameters withProtocolType(ProtocolType protocolType)

Set the protocolType property: Defines the TLS extension protocol that is used for secure delivery.

Overrides:

CdnManagedHttpsParameters.withProtocolType(ProtocolType protocolType)

Parameters:

protocolType

Applies to