AfdDomainHttpsParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.AfdDomainHttpsParameters

Implements

public final class AfdDomainHttpsParameters
implements JsonSerializable<AfdDomainHttpsParameters>

The JSON object that contains the properties to secure a domain.

Constructor Summary

Constructor Description
AfdDomainHttpsParameters()

Creates an instance of AfdDomainHttpsParameters class.

Method Summary

Modifier and Type Method and Description
AfdCertificateType certificateType()

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

AfdCipherSuiteSetType cipherSuiteSetType()

Get the cipherSuiteSetType property: cipher suite set type that will be used for Https.

AfdDomainHttpsCustomizedCipherSuiteSet customizedCipherSuiteSet()

Get the customizedCipherSuiteSet property: Customized cipher suites object that will be used for Https when cipherSuiteSetType is Customized.

static AfdDomainHttpsParameters fromJson(JsonReader jsonReader)

Reads an instance of AfdDomainHttpsParameters from the JsonReader.

AfdMinimumTlsVersion minimumTlsVersion()

Get the minimumTlsVersion property: TLS protocol version that will be used for Https when cipherSuiteSetType is Customized.

ResourceReference secret()

Get the secret property: Resource reference to the secret.

AfdServerTlsGroupPolicy serverTlsGroupPolicy()

Get the serverTlsGroupPolicy property: Server TLS group policy that will be used for Https.

List<AfdServerTlsGroup> serverTlsGroups()

Get the serverTlsGroups property: Server TLS groups that will be used for Https when serverTlsGroupPolicy is Custom.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AfdDomainHttpsParameters withCertificateType(AfdCertificateType certificateType)

Set the certificateType property: Defines the source of the SSL certificate.

AfdDomainHttpsParameters withCipherSuiteSetType(AfdCipherSuiteSetType cipherSuiteSetType)

Set the cipherSuiteSetType property: cipher suite set type that will be used for Https.

AfdDomainHttpsParameters withCustomizedCipherSuiteSet(AfdDomainHttpsCustomizedCipherSuiteSet customizedCipherSuiteSet)

Set the customizedCipherSuiteSet property: Customized cipher suites object that will be used for Https when cipherSuiteSetType is Customized.

AfdDomainHttpsParameters withMinimumTlsVersion(AfdMinimumTlsVersion minimumTlsVersion)

Set the minimumTlsVersion property: TLS protocol version that will be used for Https when cipherSuiteSetType is Customized.

AfdDomainHttpsParameters withSecret(ResourceReference secret)

Set the secret property: Resource reference to the secret.

AfdDomainHttpsParameters withServerTlsGroupPolicy(AfdServerTlsGroupPolicy serverTlsGroupPolicy)

Set the serverTlsGroupPolicy property: Server TLS group policy that will be used for Https.

AfdDomainHttpsParameters withServerTlsGroups(List<AfdServerTlsGroup> serverTlsGroups)

Set the serverTlsGroups property: Server TLS groups that will be used for Https when serverTlsGroupPolicy is Custom.

Methods inherited from java.lang.Object

Constructor Details

AfdDomainHttpsParameters

public AfdDomainHttpsParameters()

Creates an instance of AfdDomainHttpsParameters class.

Method Details

certificateType

public AfdCertificateType certificateType()

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

Returns:

the certificateType value.

cipherSuiteSetType

public AfdCipherSuiteSetType cipherSuiteSetType()

Get the cipherSuiteSetType property: cipher suite set type that will be used for Https.

Returns:

the cipherSuiteSetType value.

customizedCipherSuiteSet

public AfdDomainHttpsCustomizedCipherSuiteSet customizedCipherSuiteSet()

Get the customizedCipherSuiteSet property: Customized cipher suites object that will be used for Https when cipherSuiteSetType is Customized.

Returns:

the customizedCipherSuiteSet value.

fromJson

public static AfdDomainHttpsParameters fromJson(JsonReader jsonReader)

Reads an instance of AfdDomainHttpsParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AfdDomainHttpsParameters 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.

minimumTlsVersion

public AfdMinimumTlsVersion minimumTlsVersion()

Get the minimumTlsVersion property: TLS protocol version that will be used for Https when cipherSuiteSetType is Customized.

Returns:

the minimumTlsVersion value.

secret

public ResourceReference secret()

Get the secret property: Resource reference to the secret. ie. subs/rg/profile/secret.

Returns:

the secret value.

serverTlsGroupPolicy

public AfdServerTlsGroupPolicy serverTlsGroupPolicy()

Get the serverTlsGroupPolicy property: Server TLS group policy that will be used for Https.

Returns:

the serverTlsGroupPolicy value.

serverTlsGroups

public List<AfdServerTlsGroup> serverTlsGroups()

Get the serverTlsGroups property: Server TLS groups that will be used for Https when serverTlsGroupPolicy is Custom.

Returns:

the serverTlsGroups value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCertificateType

public AfdDomainHttpsParameters withCertificateType(AfdCertificateType certificateType)

Set the certificateType property: Defines the source of the SSL certificate.

Parameters:

certificateType - the certificateType value to set.

Returns:

the AfdDomainHttpsParameters object itself.

withCipherSuiteSetType

public AfdDomainHttpsParameters withCipherSuiteSetType(AfdCipherSuiteSetType cipherSuiteSetType)

Set the cipherSuiteSetType property: cipher suite set type that will be used for Https.

Parameters:

cipherSuiteSetType - the cipherSuiteSetType value to set.

Returns:

the AfdDomainHttpsParameters object itself.

withCustomizedCipherSuiteSet

public AfdDomainHttpsParameters withCustomizedCipherSuiteSet(AfdDomainHttpsCustomizedCipherSuiteSet customizedCipherSuiteSet)

Set the customizedCipherSuiteSet property: Customized cipher suites object that will be used for Https when cipherSuiteSetType is Customized.

Parameters:

customizedCipherSuiteSet - the customizedCipherSuiteSet value to set.

Returns:

the AfdDomainHttpsParameters object itself.

withMinimumTlsVersion

public AfdDomainHttpsParameters withMinimumTlsVersion(AfdMinimumTlsVersion minimumTlsVersion)

Set the minimumTlsVersion property: TLS protocol version that will be used for Https when cipherSuiteSetType is Customized.

Parameters:

minimumTlsVersion - the minimumTlsVersion value to set.

Returns:

the AfdDomainHttpsParameters object itself.

withSecret

public AfdDomainHttpsParameters withSecret(ResourceReference secret)

Set the secret property: Resource reference to the secret. ie. subs/rg/profile/secret.

Parameters:

secret - the secret value to set.

Returns:

the AfdDomainHttpsParameters object itself.

withServerTlsGroupPolicy

public AfdDomainHttpsParameters withServerTlsGroupPolicy(AfdServerTlsGroupPolicy serverTlsGroupPolicy)

Set the serverTlsGroupPolicy property: Server TLS group policy that will be used for Https.

Parameters:

serverTlsGroupPolicy - the serverTlsGroupPolicy value to set.

Returns:

the AfdDomainHttpsParameters object itself.

withServerTlsGroups

public AfdDomainHttpsParameters withServerTlsGroups(List<AfdServerTlsGroup> serverTlsGroups)

Set the serverTlsGroups property: Server TLS groups that will be used for Https when serverTlsGroupPolicy is Custom.

Parameters:

serverTlsGroups - the serverTlsGroups value to set.

Returns:

the AfdDomainHttpsParameters object itself.

Applies to