你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphUsedInsight Class

public final class MicrosoftGraphUsedInsight
extends MicrosoftGraphEntity

usedInsight.

Constructor Summary

Constructor Description
MicrosoftGraphUsedInsight()

Creates an instance of MicrosoftGraphUsedInsight class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: usedInsight.

static MicrosoftGraphUsedInsight fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphUsedInsight from the JsonReader.

MicrosoftGraphUsageDetails lastUsed()

Get the lastUsed property: usageDetails.

MicrosoftGraphEntity resource()

Get the resource property: entity.

MicrosoftGraphResourceReference resourceReference()

Get the resourceReference property: resourceReference.

MicrosoftGraphResourceVisualization resourceVisualization()

Get the resourceVisualization property: resourceVisualization.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphUsedInsight withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: usedInsight.

MicrosoftGraphUsedInsight withId(String id)

Set the id property: Read-only.

MicrosoftGraphUsedInsight withLastUsed(MicrosoftGraphUsageDetails lastUsed)

Set the lastUsed property: usageDetails.

MicrosoftGraphUsedInsight withResource(MicrosoftGraphEntity resource)

Set the resource property: entity.

MicrosoftGraphUsedInsight withResourceReference(MicrosoftGraphResourceReference resourceReference)

Set the resourceReference property: resourceReference.

MicrosoftGraphUsedInsight withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization)

Set the resourceVisualization property: resourceVisualization.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphUsedInsight

public MicrosoftGraphUsedInsight()

Creates an instance of MicrosoftGraphUsedInsight class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: usedInsight.

Overrides:

MicrosoftGraphUsedInsight.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphUsedInsight fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphUsedInsight from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastUsed

public MicrosoftGraphUsageDetails lastUsed()

Get the lastUsed property: usageDetails.

Returns:

the lastUsed value.

resource

public MicrosoftGraphEntity resource()

Get the resource property: entity.

Returns:

the resource value.

resourceReference

public MicrosoftGraphResourceReference resourceReference()

Get the resourceReference property: resourceReference.

Returns:

the resourceReference value.

resourceVisualization

public MicrosoftGraphResourceVisualization resourceVisualization()

Get the resourceVisualization property: resourceVisualization.

Returns:

the resourceVisualization value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphUsedInsight.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphUsedInsight.validate()

withAdditionalProperties

public MicrosoftGraphUsedInsight withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: usedInsight.

Overrides:

MicrosoftGraphUsedInsight.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphUsedInsight object itself.

withId

public MicrosoftGraphUsedInsight withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphUsedInsight.withId(String id)

Parameters:

id

withLastUsed

public MicrosoftGraphUsedInsight withLastUsed(MicrosoftGraphUsageDetails lastUsed)

Set the lastUsed property: usageDetails.

Parameters:

lastUsed - the lastUsed value to set.

Returns:

the MicrosoftGraphUsedInsight object itself.

withResource

public MicrosoftGraphUsedInsight withResource(MicrosoftGraphEntity resource)

Set the resource property: entity.

Parameters:

resource - the resource value to set.

Returns:

the MicrosoftGraphUsedInsight object itself.

withResourceReference

public MicrosoftGraphUsedInsight withResourceReference(MicrosoftGraphResourceReference resourceReference)

Set the resourceReference property: resourceReference.

Parameters:

resourceReference - the resourceReference value to set.

Returns:

the MicrosoftGraphUsedInsight object itself.

withResourceVisualization

public MicrosoftGraphUsedInsight withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization)

Set the resourceVisualization property: resourceVisualization.

Parameters:

resourceVisualization - the resourceVisualization value to set.

Returns:

the MicrosoftGraphUsedInsight object itself.

Applies to