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.OffsetDateTime
createdDateTime()
Get the createdDateTime property: The date and time the policy was created.String
description()
Get the description property: The policy's description.String
displayName()
Get the displayName property: Policy display name.OffsetDateTime
lastModifiedDateTime()
Get the lastModifiedDateTime property: Last time the policy was modified.void
validate()
Validates the instance.String
version()
Get the version property: Version of the entity.MicrosoftGraphManagedAppPolicy
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The ManagedAppPolicy resource represents a base type for platform specific policies.MicrosoftGraphManagedAppPolicy
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time the policy was created.MicrosoftGraphManagedAppPolicy
withDescription(String description)
Set the description property: The policy's description.MicrosoftGraphManagedAppPolicy
withDisplayName(String displayName)
Set the displayName property: Policy display name.MicrosoftGraphManagedAppPolicy
withId(String id)
Set the id property: Read-only.MicrosoftGraphManagedAppPolicy
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: Last time the policy was modified.MicrosoftGraphManagedAppPolicy
withVersion(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:
additionalProperties
in 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:
withAdditionalProperties
in 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:
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.
-
-