Class MicrosoftGraphDirectoryRoleTemplateInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryRoleTemplateInner
-
public final class MicrosoftGraphDirectoryRoleTemplateInner extends MicrosoftGraphDirectoryObjectInner
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphDirectoryRoleTemplateInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: Represents an Azure Active Directory object.Stringdescription()Get the description property: The description to set for the directory role.StringdisplayName()Get the displayName property: The display name to set for the directory role.voidvalidate()Validates the instance.MicrosoftGraphDirectoryRoleTemplateInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Represents an Azure Active Directory object.MicrosoftGraphDirectoryRoleTemplateInnerwithDeletedDateTime(OffsetDateTime deletedDateTime)Set the deletedDateTime property: The deletedDateTime property.MicrosoftGraphDirectoryRoleTemplateInnerwithDescription(String description)Set the description property: The description to set for the directory role.MicrosoftGraphDirectoryRoleTemplateInnerwithDisplayName(String displayName)Set the displayName property: The display name to set for the directory role.MicrosoftGraphDirectoryRoleTemplateInnerwithId(String id)Set the id property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
description
public String description()
Get the description property: The description to set for the directory role. Read-only.- Returns:
- the description value.
-
withDescription
public MicrosoftGraphDirectoryRoleTemplateInner withDescription(String description)
Set the description property: The description to set for the directory role. Read-only.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphDirectoryRoleTemplateInner object itself.
-
displayName
public String displayName()
Get the displayName property: The display name to set for the directory role. Read-only.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphDirectoryRoleTemplateInner withDisplayName(String displayName)
Set the displayName property: The display name to set for the directory role. Read-only.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphDirectoryRoleTemplateInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
additionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDirectoryRoleTemplateInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDirectoryRoleTemplateInner object itself.
-
withDeletedDateTime
public MicrosoftGraphDirectoryRoleTemplateInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTimein classMicrosoftGraphDirectoryObjectInner- Parameters:
deletedDateTime- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
public MicrosoftGraphDirectoryRoleTemplateInner withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphDirectoryObjectInner- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphDirectoryObjectInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-