AddressPrefixSetInner Class

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 AddressPrefixSetInner class.

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 AddressPrefixSetInner fromJson(JsonReader jsonReader)

Reads an instance of AddressPrefixSetInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

AddressPrefixSetPropertiesFormat properties()

Get the properties property: Properties of the address prefix set.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AddressPrefixSetInner withId(String id)

Set the id property: Resource ID.

AddressPrefixSetInner 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:

the etag value.

fromJson

public static AddressPrefixSetInner fromJson(JsonReader jsonReader)

Reads an instance of AddressPrefixSetInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AddressPrefixSetInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

AddressPrefixSetInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AddressPrefixSetInner.name()

Returns:

the name value.

properties

public AddressPrefixSetPropertiesFormat properties()

Get the properties property: Properties of the address prefix set.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AddressPrefixSetInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AddressPrefixSetInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public AddressPrefixSetInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the AddressPrefixSetInner object itself.

withProperties

public AddressPrefixSetInner withProperties(AddressPrefixSetPropertiesFormat properties)

Set the properties property: Properties of the address prefix set.

Parameters:

properties - the properties value to set.

Returns:

the AddressPrefixSetInner object itself.

Applies to