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.cdn; import com.fasterxml.jackson.annotation.JsonProperty;
Reference to another resource.
/** * Reference to another resource. */
public class ResourceReference {
Resource ID.
/** * Resource ID. */
@JsonProperty(value = "id") private String id;
Get resource ID.
Returns:the id value
/** * Get resource ID. * * @return the id value */
public String id() { return this.id; }
Set resource ID.
Params:
  • id – the id value to set
Returns:the ResourceReference object itself.
/** * Set resource ID. * * @param id the id value to set * @return the ResourceReference object itself. */
public ResourceReference withId(String id) { this.id = id; return this; } }