FirewallPolicyKubeSelectorGroupInner Class

public final class FirewallPolicyKubeSelectorGroupInner
extends SubResourceModel

Firewall Policy Kubernetes Selector Group resource.

Constructor Summary

Constructor Description
FirewallPolicyKubeSelectorGroupInner()

Creates an instance of FirewallPolicyKubeSelectorGroupInner 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 FirewallPolicyKubeSelectorGroupInner fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyKubeSelectorGroupInner from the JsonReader.

FirewallPolicyKubeSelectorGroupProperties properties()

Get the properties property: The properties of the firewall policy Kubernetes selector group.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

FirewallPolicyKubeSelectorGroupInner withId(String id)
FirewallPolicyKubeSelectorGroupInner withName(String name)

Set the name property: Name of the resource.

FirewallPolicyKubeSelectorGroupInner withProperties(FirewallPolicyKubeSelectorGroupProperties properties)

Set the properties property: The properties of the firewall policy Kubernetes selector group.

Methods inherited from SubResource

id

Methods inherited from SubResourceModel

Methods inherited from java.lang.Object

Constructor Details

FirewallPolicyKubeSelectorGroupInner

public FirewallPolicyKubeSelectorGroupInner()

Creates an instance of FirewallPolicyKubeSelectorGroupInner 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 FirewallPolicyKubeSelectorGroupInner fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyKubeSelectorGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the FirewallPolicyKubeSelectorGroupInner.

properties

public FirewallPolicyKubeSelectorGroupProperties properties()

Get the properties property: The properties of the firewall policy Kubernetes selector group.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FirewallPolicyKubeSelectorGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

FirewallPolicyKubeSelectorGroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

FirewallPolicyKubeSelectorGroupInner.validate()

withId

public FirewallPolicyKubeSelectorGroupInner withId(String id)

Overrides:

FirewallPolicyKubeSelectorGroupInner.withId(String id)

Parameters:

id

withName

public FirewallPolicyKubeSelectorGroupInner withName(String name)

Set the name property: Name of the resource.

Overrides:

FirewallPolicyKubeSelectorGroupInner.withName(String name)

Parameters:

name

withProperties

public FirewallPolicyKubeSelectorGroupInner withProperties(FirewallPolicyKubeSelectorGroupProperties properties)

Set the properties property: The properties of the firewall policy Kubernetes selector group.

Parameters:

properties - the properties value to set.

Returns:

the FirewallPolicyKubeSelectorGroupInner object itself.

Applies to