AzureWebCategoryInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.AzureWebCategoryInner

Implements

public final class AzureWebCategoryInner
implements JsonSerializable<AzureWebCategoryInner>

Azure Web Category Resource.

Constructor Summary

Constructor Description
AzureWebCategoryInner()

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

Reads an instance of AzureWebCategoryInner from the JsonReader.

String group()

Get the group property: The name of the group that the category belongs to.

String id()

Get the id property: Resource ID.

String name()

Get the name property: Resource name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

AzureWebCategoryInner withId(String id)

Set the id property: Resource ID.

Methods inherited from java.lang.Object

Constructor Details

AzureWebCategoryInner

public AzureWebCategoryInner()

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

Reads an instance of AzureWebCategoryInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureWebCategoryInner 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 AzureWebCategoryInner.

group

public String group()

Get the group property: The name of the group that the category belongs to.

Returns:

the group value.

id

public String id()

Get the id property: Resource ID.

Returns:

the id value.

name

public String name()

Get the name property: Resource name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public AzureWebCategoryInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the AzureWebCategoryInner object itself.

Applies to