Share via


ManagedInstanceDtcTransactionManagerCommunicationSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.ManagedInstanceDtcTransactionManagerCommunicationSettings

Implements

public final class ManagedInstanceDtcTransactionManagerCommunicationSettings
implements JsonSerializable<ManagedInstanceDtcTransactionManagerCommunicationSettings>

The Transaction Manager Communication Settings of managed instance DTC.

Constructor Summary

Constructor Description
ManagedInstanceDtcTransactionManagerCommunicationSettings()

Creates an instance of ManagedInstanceDtcTransactionManagerCommunicationSettings class.

Method Summary

Modifier and Type Method and Description
Boolean allowInboundEnabled()

Get the allowInboundEnabled property: Allow Inbound traffic to managed instance DTC.

Boolean allowOutboundEnabled()

Get the allowOutboundEnabled property: Allow Outbound traffic of managed instance DTC.

String authentication()

Get the authentication property: Authentication type of managed instance DTC.

static ManagedInstanceDtcTransactionManagerCommunicationSettings fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceDtcTransactionManagerCommunicationSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedInstanceDtcTransactionManagerCommunicationSettings withAllowInboundEnabled(Boolean allowInboundEnabled)

Set the allowInboundEnabled property: Allow Inbound traffic to managed instance DTC.

ManagedInstanceDtcTransactionManagerCommunicationSettings withAllowOutboundEnabled(Boolean allowOutboundEnabled)

Set the allowOutboundEnabled property: Allow Outbound traffic of managed instance DTC.

ManagedInstanceDtcTransactionManagerCommunicationSettings withAuthentication(String authentication)

Set the authentication property: Authentication type of managed instance DTC.

Methods inherited from java.lang.Object

Constructor Details

ManagedInstanceDtcTransactionManagerCommunicationSettings

public ManagedInstanceDtcTransactionManagerCommunicationSettings()

Creates an instance of ManagedInstanceDtcTransactionManagerCommunicationSettings class.

Method Details

allowInboundEnabled

public Boolean allowInboundEnabled()

Get the allowInboundEnabled property: Allow Inbound traffic to managed instance DTC.

Returns:

the allowInboundEnabled value.

allowOutboundEnabled

public Boolean allowOutboundEnabled()

Get the allowOutboundEnabled property: Allow Outbound traffic of managed instance DTC.

Returns:

the allowOutboundEnabled value.

authentication

public String authentication()

Get the authentication property: Authentication type of managed instance DTC.

Returns:

the authentication value.

fromJson

public static ManagedInstanceDtcTransactionManagerCommunicationSettings fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceDtcTransactionManagerCommunicationSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAllowInboundEnabled

public ManagedInstanceDtcTransactionManagerCommunicationSettings withAllowInboundEnabled(Boolean allowInboundEnabled)

Set the allowInboundEnabled property: Allow Inbound traffic to managed instance DTC.

Parameters:

allowInboundEnabled - the allowInboundEnabled value to set.

Returns:

the ManagedInstanceDtcTransactionManagerCommunicationSettings object itself.

withAllowOutboundEnabled

public ManagedInstanceDtcTransactionManagerCommunicationSettings withAllowOutboundEnabled(Boolean allowOutboundEnabled)

Set the allowOutboundEnabled property: Allow Outbound traffic of managed instance DTC.

Parameters:

allowOutboundEnabled - the allowOutboundEnabled value to set.

Returns:

the ManagedInstanceDtcTransactionManagerCommunicationSettings object itself.

withAuthentication

public ManagedInstanceDtcTransactionManagerCommunicationSettings withAuthentication(String authentication)

Set the authentication property: Authentication type of managed instance DTC.

Parameters:

authentication - the authentication value to set.

Returns:

the ManagedInstanceDtcTransactionManagerCommunicationSettings object itself.

Applies to