Class MicrosoftGraphUsedInsight
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphUsedInsight
usedInsight.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphUsedInsight class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: usedInsight.lastUsed()Get the lastUsed property: usageDetails.resource()Get the resource property: entity.Get the resourceReference property: resourceReference.Get the resourceVisualization property: resourceVisualization.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: usedInsight.Set the id property: Read-only.withLastUsed(MicrosoftGraphUsageDetails lastUsed) Set the lastUsed property: usageDetails.withResource(MicrosoftGraphEntity resource) Set the resource property: entity.withResourceReference(MicrosoftGraphResourceReference resourceReference) Set the resourceReference property: resourceReference.withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization) Set the resourceVisualization property: resourceVisualization.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphUsedInsight
public MicrosoftGraphUsedInsight()Creates an instance of MicrosoftGraphUsedInsight class.
-
-
Method Details
-
lastUsed
Get the lastUsed property: usageDetails.- Returns:
- the lastUsed value.
-
withLastUsed
Set the lastUsed property: usageDetails.- Parameters:
lastUsed- the lastUsed value to set.- Returns:
- the MicrosoftGraphUsedInsight object itself.
-
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
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
Get the resource property: entity.- Returns:
- the resource value.
-
withResource
Set the resource property: entity.- Parameters:
resource- the resource value to set.- Returns:
- the MicrosoftGraphUsedInsight object itself.
-
additionalProperties
Get the additionalProperties property: usedInsight.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: usedInsight.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphUsedInsight object itself.
-
withId
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.
-