Partilhar via


FirewallPolicyTransportSecurity Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.FirewallPolicyTransportSecurity

Implements

public final class FirewallPolicyTransportSecurity
implements JsonSerializable<FirewallPolicyTransportSecurity>

Configuration needed to perform TLS termination & initiation.

Constructor Summary

Constructor Description
FirewallPolicyTransportSecurity()

Creates an instance of FirewallPolicyTransportSecurity class.

Method Summary

Modifier and Type Method and Description
FirewallPolicyCertificateAuthority certificateAuthority()

Get the certificateAuthority property: The CA used for intermediate CA generation.

static FirewallPolicyTransportSecurity fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyTransportSecurity from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FirewallPolicyTransportSecurity withCertificateAuthority(FirewallPolicyCertificateAuthority certificateAuthority)

Set the certificateAuthority property: The CA used for intermediate CA generation.

Methods inherited from java.lang.Object

Constructor Details

FirewallPolicyTransportSecurity

public FirewallPolicyTransportSecurity()

Creates an instance of FirewallPolicyTransportSecurity class.

Method Details

certificateAuthority

public FirewallPolicyCertificateAuthority certificateAuthority()

Get the certificateAuthority property: The CA used for intermediate CA generation.

Returns:

the certificateAuthority value.

fromJson

public static FirewallPolicyTransportSecurity fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyTransportSecurity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCertificateAuthority

public FirewallPolicyTransportSecurity withCertificateAuthority(FirewallPolicyCertificateAuthority certificateAuthority)

Set the certificateAuthority property: The CA used for intermediate CA generation.

Parameters:

certificateAuthority - the certificateAuthority value to set.

Returns:

the FirewallPolicyTransportSecurity object itself.

Applies to