MicrosoftGraphManagedAppPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphManagedAppPolicy
- com.
- com.
public final class MicrosoftGraphManagedAppPolicy
extends MicrosoftGraphEntity
managedAppPolicy The ManagedAppPolicy resource represents a base type for platform specific policies.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphManagedAppPolicy() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Offset |
createdDateTime()
Get the created |
String |
description()
Get the description property: The policy's description. |
String |
displayName()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
lastModifiedDateTime()
Get the last |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Version of the entity. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withDescription(String description)
Set the description property: The policy's description. |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withVersion(String version)
Set the version property: Version of the entity. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphManagedAppPolicy
public MicrosoftGraphManagedAppPolicy()
Creates an instance of MicrosoftGraphManagedAppPolicy class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: The ManagedAppPolicy resource represents a base type for platform specific policies.
Overrides:
MicrosoftGraphManagedAppPolicy.additionalProperties()Returns:
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: The date and time the policy was created.
Returns:
description
public String description()
Get the description property: The policy's description.
Returns:
displayName
public String displayName()
Get the displayName property: Policy display name.
Returns:
fromJson
public static MicrosoftGraphManagedAppPolicy fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphManagedAppPolicy from the JsonReader.
Parameters:
Returns:
Throws:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: Last time the policy was modified.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphManagedAppPolicy.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphManagedAppPolicy.validate()version
public String version()
Get the version property: Version of the entity.
Returns:
withAdditionalProperties
public MicrosoftGraphManagedAppPolicy withAdditionalProperties(Map
Set the additionalProperties property: The ManagedAppPolicy resource represents a base type for platform specific policies.
Overrides:
MicrosoftGraphManagedAppPolicy.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphManagedAppPolicy withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time the policy was created.
Parameters:
Returns:
withDescription
public MicrosoftGraphManagedAppPolicy withDescription(String description)
Set the description property: The policy's description.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphManagedAppPolicy withDisplayName(String displayName)
Set the displayName property: Policy display name.
Parameters:
Returns:
withId
public MicrosoftGraphManagedAppPolicy withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphManagedAppPolicy.withId(String id)Parameters:
withLastModifiedDateTime
public MicrosoftGraphManagedAppPolicy withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: Last time the policy was modified.
Parameters:
Returns:
withVersion
public MicrosoftGraphManagedAppPolicy withVersion(String version)
Set the version property: Version of the entity.
Parameters:
Returns:
Applies to
Azure SDK for Java