SecurityUserRuleCollectionInner Class

public final class SecurityUserRuleCollectionInner
extends ChildResource

Defines the security user rule collection.

Constructor Summary

Constructor Description
SecurityUserRuleCollectionInner()

Creates an instance of SecurityUserRuleCollectionInner class.

Method Summary

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

Get the appliesToGroups property: Groups for configuration.

String description()

Get the description property: A description of the security user rule collection.

String etag()

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

static SecurityUserRuleCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityUserRuleCollectionInner 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.

SecurityUserRuleCollectionInner withAppliesToGroups(List<SecurityUserGroupItem> appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

SecurityUserRuleCollectionInner withDescription(String description)

Set the description property: A description of the security user rule collection.

Methods inherited from ChildResource

Methods inherited from java.lang.Object

Constructor Details

SecurityUserRuleCollectionInner

public SecurityUserRuleCollectionInner()

Creates an instance of SecurityUserRuleCollectionInner 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 security user 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:

SecurityUserRuleCollectionInner.etag()

Returns:

the etag value.

fromJson

public static SecurityUserRuleCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityUserRuleCollectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

SecurityUserRuleCollectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SecurityUserRuleCollectionInner.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:

SecurityUserRuleCollectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SecurityUserRuleCollectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SecurityUserRuleCollectionInner.validate()

withAppliesToGroups

public SecurityUserRuleCollectionInner withAppliesToGroups(List appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

Parameters:

appliesToGroups - the appliesToGroups value to set.

Returns:

the SecurityUserRuleCollectionInner object itself.

withDescription

public SecurityUserRuleCollectionInner withDescription(String description)

Set the description property: A description of the security user rule collection.

Parameters:

description - the description value to set.

Returns:

the SecurityUserRuleCollectionInner object itself.

Applies to