ApplicationGatewaySslProfile Class

public final class ApplicationGatewaySslProfile
extends SubResource

SSL profile of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewaySslProfile()

Creates an instance of ApplicationGatewaySslProfile class.

Method Summary

Modifier and Type Method and Description
ApplicationGatewayClientAuthConfiguration clientAuthConfiguration()

Get the clientAuthConfiguration property: Client authentication configuration of the application gateway resource.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ApplicationGatewaySslProfile fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewaySslProfile from the JsonReader.

String name()

Get the name property: Name of the SSL profile that is unique within an Application Gateway.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the HTTP listener resource.

ApplicationGatewaySslPolicy sslPolicy()

Get the sslPolicy property: SSL policy of the application gateway resource.

JsonWriter toJson(JsonWriter jsonWriter)
List<SubResource> trustedClientCertificates()

Get the trustedClientCertificates property: Array of references to application gateway trusted client certificates.

String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewaySslProfile withClientAuthConfiguration(ApplicationGatewayClientAuthConfiguration clientAuthConfiguration)

Set the clientAuthConfiguration property: Client authentication configuration of the application gateway resource.

ApplicationGatewaySslProfile withId(String id)
ApplicationGatewaySslProfile withName(String name)

Set the name property: Name of the SSL profile that is unique within an Application Gateway.

ApplicationGatewaySslProfile withSslPolicy(ApplicationGatewaySslPolicy sslPolicy)

Set the sslPolicy property: SSL policy of the application gateway resource.

ApplicationGatewaySslProfile withTrustedClientCertificates(List<SubResource> trustedClientCertificates)

Set the trustedClientCertificates property: Array of references to application gateway trusted client certificates.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewaySslProfile

public ApplicationGatewaySslProfile()

Creates an instance of ApplicationGatewaySslProfile class.

Method Details

clientAuthConfiguration

public ApplicationGatewayClientAuthConfiguration clientAuthConfiguration()

Get the clientAuthConfiguration property: Client authentication configuration of the application gateway resource.

Returns:

the clientAuthConfiguration value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ApplicationGatewaySslProfile fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewaySslProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the SSL profile that is unique within an Application Gateway.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the HTTP listener resource.

Returns:

the provisioningState value.

sslPolicy

public ApplicationGatewaySslPolicy sslPolicy()

Get the sslPolicy property: SSL policy of the application gateway resource.

Returns:

the sslPolicy value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewaySslProfile.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trustedClientCertificates

public List trustedClientCertificates()

Get the trustedClientCertificates property: Array of references to application gateway trusted client certificates.

Returns:

the trustedClientCertificates value.

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withClientAuthConfiguration

public ApplicationGatewaySslProfile withClientAuthConfiguration(ApplicationGatewayClientAuthConfiguration clientAuthConfiguration)

Set the clientAuthConfiguration property: Client authentication configuration of the application gateway resource.

Parameters:

clientAuthConfiguration - the clientAuthConfiguration value to set.

Returns:

the ApplicationGatewaySslProfile object itself.

withId

public ApplicationGatewaySslProfile withId(String id)

Overrides:

ApplicationGatewaySslProfile.withId(String id)

Parameters:

id

withName

public ApplicationGatewaySslProfile withName(String name)

Set the name property: Name of the SSL profile that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewaySslProfile object itself.

withSslPolicy

public ApplicationGatewaySslProfile withSslPolicy(ApplicationGatewaySslPolicy sslPolicy)

Set the sslPolicy property: SSL policy of the application gateway resource.

Parameters:

sslPolicy - the sslPolicy value to set.

Returns:

the ApplicationGatewaySslProfile object itself.

withTrustedClientCertificates

public ApplicationGatewaySslProfile withTrustedClientCertificates(List trustedClientCertificates)

Set the trustedClientCertificates property: Array of references to application gateway trusted client certificates.

Parameters:

trustedClientCertificates - the trustedClientCertificates value to set.

Returns:

the ApplicationGatewaySslProfile object itself.

Applies to