AssignedStandardItem Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.AssignedStandardItem

Implements

public final class AssignedStandardItem
implements JsonSerializable<AssignedStandardItem>

Describe the properties of a of a standard assignments object reference.

Constructor Summary

Constructor Description
AssignedStandardItem()

Creates an instance of AssignedStandardItem class.

Method Summary

Modifier and Type Method and Description
static AssignedStandardItem fromJson(JsonReader jsonReader)

Reads an instance of AssignedStandardItem from the JsonReader.

String id()

Get the id property: Full resourceId of the Microsoft.Security/standard object.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AssignedStandardItem withId(String id)

Set the id property: Full resourceId of the Microsoft.Security/standard object.

Methods inherited from java.lang.Object

Constructor Details

AssignedStandardItem

public AssignedStandardItem()

Creates an instance of AssignedStandardItem class.

Method Details

fromJson

public static AssignedStandardItem fromJson(JsonReader jsonReader)

Reads an instance of AssignedStandardItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Full resourceId of the Microsoft.Security/standard object.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public AssignedStandardItem withId(String id)

Set the id property: Full resourceId of the Microsoft.Security/standard object.

Parameters:

id - the id value to set.

Returns:

the AssignedStandardItem object itself.

Applies to