ServiceAssociationLink Class

public final class ServiceAssociationLink
extends SubResource

ServiceAssociationLink resource.

Method Summary

Modifier and Type Method and Description
Boolean allowDelete()

Get the allowDelete property: If true, the resource can be deleted.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ServiceAssociationLink fromJson(JsonReader jsonReader)

Reads an instance of ServiceAssociationLink from the JsonReader.

String link()

Get the link property: Link to the external resource.

String linkedResourceType()

Get the linkedResourceType property: Resource type of the linked resource.

List<String> locations()

Get the locations property: A list of locations.

String name()

Get the name property: Name of the resource that is unique within a resource group.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the service association link resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Method Details

public Boolean allowDelete()

Get the allowDelete property: If true, the resource can be deleted.

Returns:

the allowDelete value.

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

public static ServiceAssociationLink fromJson(JsonReader jsonReader)

Reads an instance of ServiceAssociationLink from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

public String link()

Get the link property: Link to the external resource.

Returns:

the link value.

public String linkedResourceType()

Get the linkedResourceType property: Resource type of the linked resource.

Returns:

the linkedResourceType value.

public List<String> locations()

Get the locations property: A list of locations.

Returns:

the locations value.

public String name()

Get the name property: Name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the service association link resource.

Returns:

the provisioningState value.

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ServiceAssociationLink.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

public String type()

Get the type property: Resource type.

Returns:

the type value.

public void validate()

Validates the instance.

Applies to