AddressPrefixSetInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. network. fluent. models. AddressPrefixSetInner
- com.
- com.
public final class AddressPrefixSetInner
extends ProxyResource
Address prefix set child resource of an application security group.
Constructor Summary
| Constructor | Description |
|---|---|
| AddressPrefixSetInner() |
Creates an instance of Address |
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
Address |
fromJson(JsonReader jsonReader)
Reads an instance of Address |
| String |
id()
Get the id property: Resource ID. |
| String |
name()
Get the name property: The name of the resource. |
|
Address |
properties()
Get the properties property: Properties of the address prefix set. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Address |
withId(String id)
Set the id property: Resource ID. |
|
Address |
withProperties(AddressPrefixSetPropertiesFormat properties)
Set the properties property: Properties of the address prefix set. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AddressPrefixSetInner
public AddressPrefixSetInner()
Creates an instance of AddressPrefixSetInner 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 AddressPrefixSetInner fromJson(JsonReader jsonReader)
Reads an instance of AddressPrefixSetInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
AddressPrefixSetInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AddressPrefixSetInner.name()Returns:
properties
public AddressPrefixSetPropertiesFormat properties()
Get the properties property: Properties of the address prefix set.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AddressPrefixSetInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AddressPrefixSetInner.type()Returns:
validate
public void validate()
Validates the instance.
withId
public AddressPrefixSetInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withProperties
public AddressPrefixSetInner withProperties(AddressPrefixSetPropertiesFormat properties)
Set the properties property: Properties of the address prefix set.
Parameters:
Returns: