Class MicrosoftGraphUsedInsight
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphUsedInsight
-
public final class MicrosoftGraphUsedInsight extends MicrosoftGraphEntity
usedInsight.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphUsedInsight()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: usedInsight.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.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 class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
lastUsed
public MicrosoftGraphUsageDetails lastUsed()
Get the lastUsed property: usageDetails.- Returns:
- the lastUsed value.
-
withLastUsed
public MicrosoftGraphUsedInsight withLastUsed(MicrosoftGraphUsageDetails lastUsed)
Set the lastUsed property: usageDetails.- Parameters:
lastUsed
- the lastUsed value to set.- Returns:
- the MicrosoftGraphUsedInsight object itself.
-
resourceReference
public MicrosoftGraphResourceReference resourceReference()
Get the resourceReference property: resourceReference.- Returns:
- the resourceReference value.
-
withResourceReference
public MicrosoftGraphUsedInsight withResourceReference(MicrosoftGraphResourceReference resourceReference)
Set the resourceReference property: resourceReference.- Parameters:
resourceReference
- the resourceReference value to set.- Returns:
- the MicrosoftGraphUsedInsight object itself.
-
resourceVisualization
public MicrosoftGraphResourceVisualization resourceVisualization()
Get the resourceVisualization property: resourceVisualization.- Returns:
- the resourceVisualization value.
-
withResourceVisualization
public MicrosoftGraphUsedInsight withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization)
Set the resourceVisualization property: resourceVisualization.- Parameters:
resourceVisualization
- the resourceVisualization value to set.- Returns:
- the MicrosoftGraphUsedInsight object itself.
-
resource
public MicrosoftGraphEntity resource()
Get the resource property: entity.- Returns:
- the resource value.
-
withResource
public MicrosoftGraphUsedInsight withResource(MicrosoftGraphEntity resource)
Set the resource property: entity.- Parameters:
resource
- the resource value to set.- Returns:
- the MicrosoftGraphUsedInsight object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: usedInsight.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphUsedInsight withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: usedInsight.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-