Class MicrosoftGraphManagedAppPolicy
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphManagedAppPolicy
-
public final class MicrosoftGraphManagedAppPolicy extends MicrosoftGraphEntity
The ManagedAppPolicy resource represents a base type for platform specific policies.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphManagedAppPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: The ManagedAppPolicy resource represents a base type for platform specific policies.OffsetDateTimecreatedDateTime()Get the createdDateTime property: The date and time the policy was created.Stringdescription()Get the description property: The policy's description.StringdisplayName()Get the displayName property: Policy display name.OffsetDateTimelastModifiedDateTime()Get the lastModifiedDateTime property: Last time the policy was modified.voidvalidate()Validates the instance.Stringversion()Get the version property: Version of the entity.MicrosoftGraphManagedAppPolicywithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: The ManagedAppPolicy resource represents a base type for platform specific policies.MicrosoftGraphManagedAppPolicywithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The date and time the policy was created.MicrosoftGraphManagedAppPolicywithDescription(String description)Set the description property: The policy's description.MicrosoftGraphManagedAppPolicywithDisplayName(String displayName)Set the displayName property: Policy display name.MicrosoftGraphManagedAppPolicywithId(String id)Set the id property: Read-only.MicrosoftGraphManagedAppPolicywithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: Last time the policy was modified.MicrosoftGraphManagedAppPolicywithVersion(String version)Set the version property: Version of the entity.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: The date and time the policy was created.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
public MicrosoftGraphManagedAppPolicy withCreatedDateTime(OffsetDateTime createdDateTime)
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
public String description()
Get the description property: The policy's description.- Returns:
- the description value.
-
withDescription
public MicrosoftGraphManagedAppPolicy withDescription(String description)
Set the description property: The policy's description.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy object itself.
-
displayName
public String displayName()
Get the displayName property: Policy display name.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphManagedAppPolicy withDisplayName(String displayName)
Set the displayName property: Policy display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy object itself.
-
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: Last time the policy was modified.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
public MicrosoftGraphManagedAppPolicy withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: Last time the policy was modified.- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy object itself.
-
version
public String version()
Get the version property: Version of the entity.- Returns:
- the version value.
-
withVersion
public MicrosoftGraphManagedAppPolicy withVersion(String version)
Set the version property: Version of the entity.- Parameters:
version- the version value to set.- Returns:
- the MicrosoftGraphManagedAppPolicy object itself.
-
additionalProperties
public Map<String,Object> 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
public MicrosoftGraphManagedAppPolicy 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.
-
-