ApiEntityReference Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ApiEntityReference
- com.
public final class ApiEntityReference
The API entity reference.
Constructor Summary
Constructor | Description |
---|---|
ApiEntityReference() |
Creates an instance of Api |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: The ARM resource id in the form of /subscriptions/{Subscription |
void |
validate()
Validates the instance. |
Api |
withId(String id)
Set the id property: The ARM resource id in the form of /subscriptions/{Subscription |
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:
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for