MicrosoftGraphPolicyBase Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDirectoryObjectInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPolicyBase
- com.
- com.
- com.
public class MicrosoftGraphPolicyBase
extends MicrosoftGraphDirectoryObjectInner
policyBase Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPolicyBase() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
description()
Get the description property: Description for this policy. |
String |
displayName()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deleted |
Microsoft |
withDescription(String description)
Set the description property: Description for this policy. |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Methods inherited from MicrosoftGraphDirectoryObjectInner
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPolicyBase
public MicrosoftGraphPolicyBase()
Creates an instance of MicrosoftGraphPolicyBase class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Overrides:
MicrosoftGraphPolicyBase.additionalProperties()Returns:
description
public String description()
Get the description property: Description for this policy.
Returns:
displayName
public String displayName()
Get the displayName property: Display name for this policy.
Returns:
fromJson
public static MicrosoftGraphPolicyBase fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPolicyBase from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphPolicyBase.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphPolicyBase.validate()withAdditionalProperties
public MicrosoftGraphPolicyBase withAdditionalProperties(Map
Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Overrides:
MicrosoftGraphPolicyBase.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDeletedDateTime
public MicrosoftGraphPolicyBase withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.
Overrides:
MicrosoftGraphPolicyBase.withDeletedDateTime(OffsetDateTime deletedDateTime)Parameters:
withDescription
public MicrosoftGraphPolicyBase withDescription(String description)
Set the description property: Description for this policy.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphPolicyBase withDisplayName(String displayName)
Set the displayName property: Display name for this policy.
Parameters:
Returns:
withId
public MicrosoftGraphPolicyBase withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphPolicyBase.withId(String id)Parameters:
Applies to
Azure SDK for Java