SecurityPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. servicenetworking. fluent. models. SecurityPolicyInner
- com.
- com.
- com.
public final class SecurityPolicyInner
extends Resource
SecurityPolicy Subresource of Traffic Controller.
Constructor Summary
| Constructor | Description |
|---|---|
| SecurityPolicyInner() |
Creates an instance of Security |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Security |
properties()
Get the properties property: The resource-specific properties for this resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Security |
withLocation(String location) |
|
Security |
withProperties(SecurityPolicyProperties properties)
Set the properties property: The resource-specific properties for this resource. |
|
Security |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
SecurityPolicyInner
public SecurityPolicyInner()
Creates an instance of SecurityPolicyInner class.
Method Details
fromJson
public static SecurityPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of SecurityPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SecurityPolicyInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SecurityPolicyInner.name()Returns:
properties
public SecurityPolicyProperties properties()
Get the properties property: The resource-specific properties for this resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SecurityPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SecurityPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public SecurityPolicyInner withLocation(String location)
Overrides:
SecurityPolicyInner.withLocation(String location)Parameters:
withProperties
public SecurityPolicyInner withProperties(SecurityPolicyProperties properties)
Set the properties property: The resource-specific properties for this resource.
Parameters:
Returns:
withTags
public SecurityPolicyInner withTags(Map<String,String> tags)
Overrides:
SecurityPolicyInner.withTags(Map<String,String> tags)Parameters: