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.MicrosoftGraphUsageDetailslastUsed()Get the lastUsed property: usageDetails.MicrosoftGraphEntityresource()Get the resource property: entity.MicrosoftGraphResourceReferenceresourceReference()Get the resourceReference property: resourceReference.MicrosoftGraphResourceVisualizationresourceVisualization()Get the resourceVisualization property: resourceVisualization.voidvalidate()Validates the instance.MicrosoftGraphUsedInsightwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: usedInsight.MicrosoftGraphUsedInsightwithId(String id)Set the id property: Read-only.MicrosoftGraphUsedInsightwithLastUsed(MicrosoftGraphUsageDetails lastUsed)Set the lastUsed property: usageDetails.MicrosoftGraphUsedInsightwithResource(MicrosoftGraphEntity resource)Set the resource property: entity.MicrosoftGraphUsedInsightwithResourceReference(MicrosoftGraphResourceReference resourceReference)Set the resourceReference property: resourceReference.MicrosoftGraphUsedInsightwithResourceVisualization(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:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphUsedInsight withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: usedInsight.- Overrides:
withAdditionalPropertiesin 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:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-