CloudLinkInner Class

public final class CloudLinkInner
extends ProxyResource

A cloud link resource.

Constructor Summary

Constructor Description
CloudLinkInner()

Creates an instance of CloudLinkInner class.

Method Summary

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

Reads an instance of CloudLinkInner from the JsonReader.

String id()

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

String linkedCloud()

Get the linkedCloud property: Identifier of the other private cloud participating in the link.

String name()

Get the name property: The name of the resource.

CloudLinkProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

CloudLinkStatus status()

Get the status property: The state of the cloud link.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

CloudLinkInner withLinkedCloud(String linkedCloud)

Set the linkedCloud property: Identifier of the other private cloud participating in the link.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CloudLinkInner

public CloudLinkInner()

Creates an instance of CloudLinkInner class.

Method Details

fromJson

public static CloudLinkInner fromJson(JsonReader jsonReader)

Reads an instance of CloudLinkInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CloudLinkInner 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:

CloudLinkInner.id()

Returns:

the id value.

linkedCloud

public String linkedCloud()

Get the linkedCloud property: Identifier of the other private cloud participating in the link.

Returns:

the linkedCloud value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CloudLinkInner.name()

Returns:

the name value.

provisioningState

public CloudLinkProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

status

public CloudLinkStatus status()

Get the status property: The state of the cloud link.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CloudLinkInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CloudLinkInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLinkedCloud

public CloudLinkInner withLinkedCloud(String linkedCloud)

Set the linkedCloud property: Identifier of the other private cloud participating in the link.

Parameters:

linkedCloud - the linkedCloud value to set.

Returns:

the CloudLinkInner object itself.

Applies to

Azure SDK for Java

Preview