ResourceReference Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.ResourceReference

public final class ResourceReference

Reference to a resource.

Constructor Summary

Constructor Description
ResourceReference()

Creates an instance of ResourceReference class.

Method Summary

Modifier and Type Method and Description
String id()

Get the id property: Resource ID.

void validate()

Validates the instance.

ResourceReference withId(String id)

Set the id property: Resource ID.

Methods inherited from java.lang.Object

Constructor Details

ResourceReference

public ResourceReference()

Creates an instance of ResourceReference class.

Method Details

id

public String id()

Get the id property: Resource ID.

Returns:

the id value.

validate

public void validate()

Validates the instance.

withId

public ResourceReference withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ResourceReference object itself.

Applies to