Share via


LinkerResourceInner Class

public final class LinkerResourceInner
extends ProxyResource

Linker of source and target resource.

Constructor Summary

Constructor Description
LinkerResourceInner()

Creates an instance of LinkerResourceInner class.

Method Summary

Modifier and Type Method and Description
AuthInfoBase authInfo()

Get the authInfo property: The authentication type.

ClientType clientType()

Get the clientType property: The application client type.

static LinkerResourceInner fromJson(JsonReader jsonReader)

Reads an instance of LinkerResourceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String provisioningState()

Get the provisioningState property: The provisioning state.

String scope()

Get the scope property: connection scope in source service.

SecretStore secretStore()

Get the secretStore property: An option to store secret value in secure place.

SystemData systemData()

Get the systemData property: The system data.

TargetServiceBase targetService()

Get the targetService property: The target service properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

VNetSolution vNetSolution()

Get the vNetSolution property: The VNet solution.

LinkerResourceInner withAuthInfo(AuthInfoBase authInfo)

Set the authInfo property: The authentication type.

LinkerResourceInner withClientType(ClientType clientType)

Set the clientType property: The application client type.

LinkerResourceInner withScope(String scope)

Set the scope property: connection scope in source service.

LinkerResourceInner withSecretStore(SecretStore secretStore)

Set the secretStore property: An option to store secret value in secure place.

LinkerResourceInner withTargetService(TargetServiceBase targetService)

Set the targetService property: The target service properties.

LinkerResourceInner withVNetSolution(VNetSolution vNetSolution)

Set the vNetSolution property: The VNet solution.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

LinkerResourceInner

public LinkerResourceInner()

Creates an instance of LinkerResourceInner class.

Method Details

authInfo

public AuthInfoBase authInfo()

Get the authInfo property: The authentication type.

Returns:

the authInfo value.

clientType

public ClientType clientType()

Get the clientType property: The application client type.

Returns:

the clientType value.

fromJson

public static LinkerResourceInner fromJson(JsonReader jsonReader)

Reads an instance of LinkerResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LinkerResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

LinkerResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

LinkerResourceInner.name()

Returns:

the name value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning state.

Returns:

the provisioningState value.

scope

public String scope()

Get the scope property: connection scope in source service.

Returns:

the scope value.

secretStore

public SecretStore secretStore()

Get the secretStore property: An option to store secret value in secure place.

Returns:

the secretStore value.

systemData

public SystemData systemData()

Get the systemData property: The system data.

Returns:

the systemData value.

targetService

public TargetServiceBase targetService()

Get the targetService property: The target service properties.

Returns:

the targetService value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LinkerResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

LinkerResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

vNetSolution

public VNetSolution vNetSolution()

Get the vNetSolution property: The VNet solution.

Returns:

the vNetSolution value.

withAuthInfo

public LinkerResourceInner withAuthInfo(AuthInfoBase authInfo)

Set the authInfo property: The authentication type.

Parameters:

authInfo - the authInfo value to set.

Returns:

the LinkerResourceInner object itself.

withClientType

public LinkerResourceInner withClientType(ClientType clientType)

Set the clientType property: The application client type.

Parameters:

clientType - the clientType value to set.

Returns:

the LinkerResourceInner object itself.

withScope

public LinkerResourceInner withScope(String scope)

Set the scope property: connection scope in source service.

Parameters:

scope - the scope value to set.

Returns:

the LinkerResourceInner object itself.

withSecretStore

public LinkerResourceInner withSecretStore(SecretStore secretStore)

Set the secretStore property: An option to store secret value in secure place.

Parameters:

secretStore - the secretStore value to set.

Returns:

the LinkerResourceInner object itself.

withTargetService

public LinkerResourceInner withTargetService(TargetServiceBase targetService)

Set the targetService property: The target service properties.

Parameters:

targetService - the targetService value to set.

Returns:

the LinkerResourceInner object itself.

withVNetSolution

public LinkerResourceInner withVNetSolution(VNetSolution vNetSolution)

Set the vNetSolution property: The VNet solution.

Parameters:

vNetSolution - the vNetSolution value to set.

Returns:

the LinkerResourceInner object itself.

Applies to