你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphDirectoryRoleTemplate Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDirectoryObjectInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDirectoryRoleTemplate
- com.
- com.
- com.
public final class MicrosoftGraphDirectoryRoleTemplate
extends MicrosoftGraphDirectoryObjectInner
directoryRoleTemplate Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDirectoryRoleTemplate() |
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: The description to set for the directory role. |
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: The description to set for the directory role. |
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
MicrosoftGraphDirectoryRoleTemplate
public MicrosoftGraphDirectoryRoleTemplate()
Creates an instance of MicrosoftGraphDirectoryRoleTemplate 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:
MicrosoftGraphDirectoryRoleTemplate.additionalProperties()Returns:
description
public String description()
Get the description property: The description to set for the directory role. Read-only.
Returns:
displayName
public String displayName()
Get the displayName property: The display name to set for the directory role. Read-only.
Returns:
fromJson
public static MicrosoftGraphDirectoryRoleTemplate fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDirectoryRoleTemplate from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphDirectoryRoleTemplate.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphDirectoryRoleTemplate.validate()withAdditionalProperties
public MicrosoftGraphDirectoryRoleTemplate 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:
MicrosoftGraphDirectoryRoleTemplate.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDeletedDateTime
public MicrosoftGraphDirectoryRoleTemplate withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.
Overrides:
MicrosoftGraphDirectoryRoleTemplate.withDeletedDateTime(OffsetDateTime deletedDateTime)Parameters:
withDescription
public MicrosoftGraphDirectoryRoleTemplate withDescription(String description)
Set the description property: The description to set for the directory role. Read-only.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphDirectoryRoleTemplate withDisplayName(String displayName)
Set the displayName property: The display name to set for the directory role. Read-only.
Parameters:
Returns:
withId
public MicrosoftGraphDirectoryRoleTemplate withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphDirectoryRoleTemplate.withId(String id)Parameters: