TestProxyRecordingOptions.ProxyTransport Class

  • java.lang.Object
    • com.azure.core.test.models.TestProxyRecordingOptions.ProxyTransport

public static class TestProxyRecordingOptions.ProxyTransport

Model for proxy transport options

Constructor Summary

Constructor Description
ProxyTransport()

Method Summary

Modifier and Type Method and Description
List<Certificate> getCertificates()

Get allowed certificates for the recording.

String gettLSValidationCert()

Get the TLS/SSL Certificate

ProxyTransport setCertificates(List<TestProxyRecordingOptions.Certificate> certificates)

Set allowed certificates for the recording.

ProxyTransport settLSValidationCert(String tLSValidationCert)

Set the TLS/SSL Certificate

Methods inherited from java.lang.Object

Constructor Details

ProxyTransport

public ProxyTransport()

Method Details

getCertificates

public List getCertificates()

Get allowed certificates for the recording.

Returns:

the list of allowed certificates for the recording.

gettLSValidationCert

public String gettLSValidationCert()

Get the TLS/SSL Certificate

Returns:

the TLS/SSL Certificate

setCertificates

public TestProxyRecordingOptions.ProxyTransport setCertificates(List certificates)

Set allowed certificates for the recording.

Parameters:

certificates - the list of allowed certificates for the recording.

Returns:

the updated ProxyTransport object.

settLSValidationCert

public TestProxyRecordingOptions.ProxyTransport settLSValidationCert(String tLSValidationCert)

Set the TLS/SSL Certificate

Parameters:

tLSValidationCert - the TLS/SSL Certificate to set

Returns:

the updated ProxyTransport object.

Applies to