IpGroupInner Class

public final class IpGroupInner
extends Resource

The IpGroups resource information.

Constructor Summary

Constructor Description
IpGroupInner()

Creates an instance of IpGroupInner 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.

List<SubResource> firewallPolicies()

Get the firewallPolicies property: List of references to Firewall Policies resources that this IpGroups is associated with.

List<SubResource> firewalls()

Get the firewalls property: List of references to Firewall resources that this IpGroups is associated with.

static IpGroupInner fromJson(JsonReader jsonReader)

Reads an instance of IpGroupInner from the JsonReader.

String id()

Get the id property: Resource ID.

List<String> ipAddresses()

Get the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the IpGroups resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

IpGroupInner withId(String id)

Set the id property: Resource ID.

IpGroupInner withIpAddresses(List<String> ipAddresses)

Set the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.

IpGroupInner withLocation(String location)
IpGroupInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

IpGroupInner

public IpGroupInner()

Creates an instance of IpGroupInner 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.

firewallPolicies

public List firewallPolicies()

Get the firewallPolicies property: List of references to Firewall Policies resources that this IpGroups is associated with.

Returns:

the firewallPolicies value.

firewalls

public List firewalls()

Get the firewalls property: List of references to Firewall resources that this IpGroups is associated with.

Returns:

the firewalls value.

fromJson

public static IpGroupInner fromJson(JsonReader jsonReader)

Reads an instance of IpGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IpGroupInner 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:

IpGroupInner.id()

Returns:

the id value.

ipAddresses

public List ipAddresses()

Get the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.

Returns:

the ipAddresses value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

IpGroupInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the IpGroups resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

IpGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

IpGroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public IpGroupInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the IpGroupInner object itself.

withIpAddresses

public IpGroupInner withIpAddresses(List ipAddresses)

Set the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.

Parameters:

ipAddresses - the ipAddresses value to set.

Returns:

the IpGroupInner object itself.

withLocation

public IpGroupInner withLocation(String location)

Overrides:

IpGroupInner.withLocation(String location)

Parameters:

location

withTags

public IpGroupInner withTags(Map tags)

Overrides:

IpGroupInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to