Class MicrosoftGraphManagedAppPolicy
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphManagedAppPolicy
managedAppPolicy
The ManagedAppPolicy resource represents a base type for platform specific policies.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphManagedAppPolicy class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: The ManagedAppPolicy resource represents a base type for platform specific policies.Get the createdDateTime property: The date and time the policy was created.Get the description property: The policy's description.Get the displayName property: Policy display name.Get the lastModifiedDateTime property: Last time the policy was modified.voidvalidate()Validates the instance.version()Get the version property: Version of the entity.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: The ManagedAppPolicy resource represents a base type for platform specific policies.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: The date and time the policy was created.withDescription(String description) Set the description property: The policy's description.withDisplayName(String displayName) Set the displayName property: Policy display name.Set the id property: Read-only.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: Last time the policy was modified.withVersion(String version) Set the version property: Version of the entity.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphManagedAppPolicy
public MicrosoftGraphManagedAppPolicy()Creates an instance of MicrosoftGraphManagedAppPolicy class.
-
-
Method Details
-
createdDateTime
Get the createdDateTime property: The date and time the policy was created.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
Set the createdDateTime property: The date and time the policy was created.- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy object itself.
-
description
Get the description property: The policy's description.- Returns:
- the description value.
-
withDescription
Set the description property: The policy's description.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy object itself.
-
displayName
Get the displayName property: Policy display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Policy display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy object itself.
-
lastModifiedDateTime
Get the lastModifiedDateTime property: Last time the policy was modified.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
Set the lastModifiedDateTime property: Last time the policy was modified.- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy object itself.
-
version
Get the version property: Version of the entity.- Returns:
- the version value.
-
withVersion
Set the version property: Version of the entity.- Parameters:
version- the version value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy object itself.
-
additionalProperties
Get the additionalProperties property: The ManagedAppPolicy resource represents a base type for platform specific policies.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphManagedAppPolicy withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: The ManagedAppPolicy resource represents a base type for platform specific policies.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy 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.
-