AzureResourceReference Class

  • java.lang.Object
    • com.azure.resourcemanager.resourcemover.models.AzureResourceReference

public class AzureResourceReference

Defines reference to an Azure resource.

Constructor Summary

Constructor Description
AzureResourceReference()

Creates an instance of AzureResourceReference class.

Method Summary

Modifier and Type Method and Description
String sourceArmResourceId()

Get the sourceArmResourceId property: Gets the ARM resource ID of the tracked resource being referenced.

void validate()

Validates the instance.

AzureResourceReference withSourceArmResourceId(String sourceArmResourceId)

Set the sourceArmResourceId property: Gets the ARM resource ID of the tracked resource being referenced.

Methods inherited from java.lang.Object

Constructor Details

AzureResourceReference

public AzureResourceReference()

Creates an instance of AzureResourceReference class.

Method Details

sourceArmResourceId

public String sourceArmResourceId()

Get the sourceArmResourceId property: Gets the ARM resource ID of the tracked resource being referenced.

Returns:

the sourceArmResourceId value.

validate

public void validate()

Validates the instance.

withSourceArmResourceId

public AzureResourceReference withSourceArmResourceId(String sourceArmResourceId)

Set the sourceArmResourceId property: Gets the ARM resource ID of the tracked resource being referenced.

Parameters:

sourceArmResourceId - the sourceArmResourceId value to set.

Returns:

the AzureResourceReference object itself.

Applies to