DdosCustomPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. DdosCustomPolicyInner
- com.
- com.
- com.
public final class DdosCustomPolicyInner
extends Resource
A DDoS custom policy in a resource group.
Constructor Summary
Constructor | Description |
---|---|
DdosCustomPolicyInner() |
Creates an instance of Ddos |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Ddos |
fromJson(JsonReader jsonReader)
Reads an instance of Ddos |
String |
id()
Get the id property: Resource ID. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
String |
resourceGuid()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Ddos |
withId(String id)
Set the id property: Resource ID. |
Ddos |
withLocation(String location) |
Ddos |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DdosCustomPolicyInner
public DdosCustomPolicyInner()
Creates an instance of DdosCustomPolicyInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static DdosCustomPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of DdosCustomPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
DdosCustomPolicyInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DdosCustomPolicyInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the DDoS custom policy resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DdosCustomPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DdosCustomPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withId
public DdosCustomPolicyInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public DdosCustomPolicyInner withLocation(String location)
Overrides:
DdosCustomPolicyInner.withLocation(String location)Parameters:
withTags
public DdosCustomPolicyInner withTags(Map
Overrides:
DdosCustomPolicyInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java