ApiEntityReference Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.ApiEntityReference

public final class ApiEntityReference

The API entity reference.

Constructor Summary

Constructor Description
ApiEntityReference()

Creates an instance of ApiEntityReference class.

Method Summary

Modifier and Type Method and Description
String id()

Get the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...

void validate()

Validates the instance.

ApiEntityReference withId(String id)

Set the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...

Methods inherited from java.lang.Object

Constructor Details

ApiEntityReference

public ApiEntityReference()

Creates an instance of ApiEntityReference class.

Method Details

id

public String id()

Get the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...

Returns:

the id value.

validate

public void validate()

Validates the instance.

withId

public ApiEntityReference withId(String id)

Set the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...

Parameters:

id - the id value to set.

Returns:

the ApiEntityReference object itself.

Applies to