AdminRuleCollectionInner Class

public final class AdminRuleCollectionInner
extends ChildResource

Defines the admin rule collection.

Constructor Summary

Constructor Description
AdminRuleCollectionInner()

Creates an instance of AdminRuleCollectionInner class.

Method Summary

Modifier and Type Method and Description
List<NetworkManagerSecurityGroupItem> appliesToGroups()

Get the appliesToGroups property: Groups for configuration.

String description()

Get the description property: A description of the admin rule collection.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static AdminRuleCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of AdminRuleCollectionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

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

String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

SystemData systemData()

Get the systemData property: The system metadata related to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AdminRuleCollectionInner withAppliesToGroups(List<NetworkManagerSecurityGroupItem> appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

AdminRuleCollectionInner withDescription(String description)

Set the description property: A description of the admin rule collection.

Methods inherited from ChildResource

Methods inherited from java.lang.Object

Constructor Details

AdminRuleCollectionInner

public AdminRuleCollectionInner()

Creates an instance of AdminRuleCollectionInner class.

Method Details

appliesToGroups

public List appliesToGroups()

Get the appliesToGroups property: Groups for configuration.

Returns:

the appliesToGroups value.

description

public String description()

Get the description property: A description of the admin rule collection.

Returns:

the description value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Overrides:

AdminRuleCollectionInner.etag()

Returns:

the etag value.

fromJson

public static AdminRuleCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of AdminRuleCollectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AdminRuleCollectionInner 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: Fully qualified resource Id for the resource.

Overrides:

AdminRuleCollectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AdminRuleCollectionInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

Returns:

the resourceGuid value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata related to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AdminRuleCollectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AdminRuleCollectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

AdminRuleCollectionInner.validate()

withAppliesToGroups

public AdminRuleCollectionInner withAppliesToGroups(List appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

Parameters:

appliesToGroups - the appliesToGroups value to set.

Returns:

the AdminRuleCollectionInner object itself.

withDescription

public AdminRuleCollectionInner withDescription(String description)

Set the description property: A description of the admin rule collection.

Parameters:

description - the description value to set.

Returns:

the AdminRuleCollectionInner object itself.

Applies to