public final class NetworkIntentPolicy
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
NetworkIntentPolicy() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
id()
Get the id property: Resource ID.
|
void |
validate()
Validates the instance.
|
NetworkIntentPolicy |
withId(String id)
Set the id property: Resource ID.
|
NetworkIntentPolicy |
withLocation(String location) |
NetworkIntentPolicy |
withTags(Map<String,String> tags) |
public String etag()
public String id()
id in class com.azure.core.management.ProxyResourcepublic NetworkIntentPolicy withId(String id)
id - the id value to set.public NetworkIntentPolicy withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic NetworkIntentPolicy withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.