Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
The API entity reference.
/**
* The API entity reference.
*/
public class ApiEntityReference {
The ARM resource id in the form of
/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
/**
* The ARM resource id in the form of
* /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
*/
@JsonProperty(value = "id")
private String id;
Get the ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
Returns: the id value
/**
* Get the ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
*
* @return the id value
*/
public String id() {
return this.id;
}
Set the ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
Params: - id – the id value to set
Returns: the ApiEntityReference object itself.
/**
* Set the ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
*
* @param id the id value to set
* @return the ApiEntityReference object itself.
*/
public ApiEntityReference withId(String id) {
this.id = id;
return this;
}
}