BaseAdminRuleInner Class

public class BaseAdminRuleInner
extends ChildResource

Network base admin rule.

Constructor Summary

Constructor Description
BaseAdminRuleInner()

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

Reads an instance of BaseAdminRuleInner from the JsonReader.

String id()

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

AdminRuleKind kind()

Get the kind property: Whether the rule is custom or default.

String name()

Get the name property: The name of the 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.

Methods inherited from ChildResource

Methods inherited from java.lang.Object

Constructor Details

BaseAdminRuleInner

public BaseAdminRuleInner()

Creates an instance of BaseAdminRuleInner class.

Method Details

etag

public String etag()

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

Overrides:

BaseAdminRuleInner.etag()

Returns:

the etag value.

fromJson

public static BaseAdminRuleInner fromJson(JsonReader jsonReader)

Reads an instance of BaseAdminRuleInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

BaseAdminRuleInner.id()

Returns:

the id value.

kind

public AdminRuleKind kind()

Get the kind property: Whether the rule is custom or default.

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

BaseAdminRuleInner.name()

Returns:

the name 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:

BaseAdminRuleInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BaseAdminRuleInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

BaseAdminRuleInner.validate()

Applies to