OptionalPropertiesUpdateableProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.durabletask.models.OptionalPropertiesUpdateableProperties

Implements

public final class OptionalPropertiesUpdateableProperties
implements JsonSerializable<OptionalPropertiesUpdateableProperties>

The template for adding optional properties.

Constructor Summary

Constructor Description
OptionalPropertiesUpdateableProperties()

Creates an instance of OptionalPropertiesUpdateableProperties class.

Method Summary

Modifier and Type Method and Description
static OptionalPropertiesUpdateableProperties fromJson(JsonReader jsonReader)

Reads an instance of OptionalPropertiesUpdateableProperties from the JsonReader.

PrivateEndpoint privateEndpoint()

Get the privateEndpoint property: The private endpoint resource.

PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.

JsonWriter toJson(JsonWriter jsonWriter)
OptionalPropertiesUpdateableProperties withPrivateEndpoint(PrivateEndpoint privateEndpoint)

Set the privateEndpoint property: The private endpoint resource.

OptionalPropertiesUpdateableProperties withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.

Methods inherited from java.lang.Object

Constructor Details

OptionalPropertiesUpdateableProperties

public OptionalPropertiesUpdateableProperties()

Creates an instance of OptionalPropertiesUpdateableProperties class.

Method Details

fromJson

public static OptionalPropertiesUpdateableProperties fromJson(JsonReader jsonReader)

Reads an instance of OptionalPropertiesUpdateableProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

privateEndpoint

public PrivateEndpoint privateEndpoint()

Get the privateEndpoint property: The private endpoint resource.

Returns:

the privateEndpoint value.

privateLinkServiceConnectionState

public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.

Returns:

the privateLinkServiceConnectionState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withPrivateEndpoint

public OptionalPropertiesUpdateableProperties withPrivateEndpoint(PrivateEndpoint privateEndpoint)

Set the privateEndpoint property: The private endpoint resource.

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the OptionalPropertiesUpdateableProperties object itself.

withPrivateLinkServiceConnectionState

public OptionalPropertiesUpdateableProperties withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the OptionalPropertiesUpdateableProperties object itself.

Applies to