ManagedInstanceDtcProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.ManagedInstanceDtcProperties

Implements

public final class ManagedInstanceDtcProperties
implements JsonSerializable<ManagedInstanceDtcProperties>

The properties of managed instance DTC.

Constructor Summary

Constructor Description
ManagedInstanceDtcProperties()

Creates an instance of ManagedInstanceDtcProperties class.

Method Summary

Modifier and Type Method and Description
Boolean dtcEnabled()

Get the dtcEnabled property: Active status of managed instance DTC.

String dtcHostnameDnsSuffix()

Get the dtcHostnameDnsSuffix property: Host name dns suffix of managed instance DTC.

List<String> externalDnsSuffixSearchList()

Get the externalDnsSuffixSearchList property: External dns suffix search list of managed instance DTC.

static ManagedInstanceDtcProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceDtcProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of managed instance DTC.

ManagedInstanceDtcSecuritySettings securitySettings()

Get the securitySettings property: Security settings of managed instance DTC.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedInstanceDtcProperties withDtcEnabled(Boolean dtcEnabled)

Set the dtcEnabled property: Active status of managed instance DTC.

ManagedInstanceDtcProperties withExternalDnsSuffixSearchList(List<String> externalDnsSuffixSearchList)

Set the externalDnsSuffixSearchList property: External dns suffix search list of managed instance DTC.

ManagedInstanceDtcProperties withSecuritySettings(ManagedInstanceDtcSecuritySettings securitySettings)

Set the securitySettings property: Security settings of managed instance DTC.

Methods inherited from java.lang.Object

Constructor Details

ManagedInstanceDtcProperties

public ManagedInstanceDtcProperties()

Creates an instance of ManagedInstanceDtcProperties class.

Method Details

dtcEnabled

public Boolean dtcEnabled()

Get the dtcEnabled property: Active status of managed instance DTC.

Returns:

the dtcEnabled value.

dtcHostnameDnsSuffix

public String dtcHostnameDnsSuffix()

Get the dtcHostnameDnsSuffix property: Host name dns suffix of managed instance DTC.

Returns:

the dtcHostnameDnsSuffix value.

externalDnsSuffixSearchList

public List<String> externalDnsSuffixSearchList()

Get the externalDnsSuffixSearchList property: External dns suffix search list of managed instance DTC.

Returns:

the externalDnsSuffixSearchList value.

fromJson

public static ManagedInstanceDtcProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceDtcProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of managed instance DTC.

Returns:

the provisioningState value.

securitySettings

public ManagedInstanceDtcSecuritySettings securitySettings()

Get the securitySettings property: Security settings of managed instance DTC.

Returns:

the securitySettings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDtcEnabled

public ManagedInstanceDtcProperties withDtcEnabled(Boolean dtcEnabled)

Set the dtcEnabled property: Active status of managed instance DTC.

Parameters:

dtcEnabled - the dtcEnabled value to set.

Returns:

the ManagedInstanceDtcProperties object itself.

withExternalDnsSuffixSearchList

public ManagedInstanceDtcProperties withExternalDnsSuffixSearchList(List<String> externalDnsSuffixSearchList)

Set the externalDnsSuffixSearchList property: External dns suffix search list of managed instance DTC.

Parameters:

externalDnsSuffixSearchList - the externalDnsSuffixSearchList value to set.

Returns:

the ManagedInstanceDtcProperties object itself.

withSecuritySettings

public ManagedInstanceDtcProperties withSecuritySettings(ManagedInstanceDtcSecuritySettings securitySettings)

Set the securitySettings property: Security settings of managed instance DTC.

Parameters:

securitySettings - the securitySettings value to set.

Returns:

the ManagedInstanceDtcProperties object itself.

Applies to