public final class ADGroupInner extends DirectoryObjectInner
| Constructor and Description |
|---|
ADGroupInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
displayName()
Get the displayName property: The display name of the group.
|
String |
mail()
Get the mail property: The primary email address of the group.
|
Boolean |
mailEnabled()
Get the mailEnabled property: Whether the group is mail-enabled.
|
String |
mailNickname()
Get the mailNickname property: The mail alias for the group.
|
Boolean |
securityEnabled()
Get the securityEnabled property: Whether the group is security-enable.
|
void |
validate()
Validates the instance.
|
ADGroupInner |
withDisplayName(String displayName)
Set the displayName property: The display name of the group.
|
ADGroupInner |
withMail(String mail)
Set the mail property: The primary email address of the group.
|
ADGroupInner |
withMailEnabled(Boolean mailEnabled)
Set the mailEnabled property: Whether the group is mail-enabled.
|
ADGroupInner |
withMailNickname(String mailNickname)
Set the mailNickname property: The mail alias for the group.
|
ADGroupInner |
withSecurityEnabled(Boolean securityEnabled)
Set the securityEnabled property: Whether the group is security-enable.
|
additionalProperties, deletionTimestamp, objectId, withAdditionalPropertiespublic String displayName()
public ADGroupInner withDisplayName(String displayName)
displayName - the displayName value to set.public Boolean mailEnabled()
public ADGroupInner withMailEnabled(Boolean mailEnabled)
mailEnabled - the mailEnabled value to set.public String mailNickname()
public ADGroupInner withMailNickname(String mailNickname)
mailNickname - the mailNickname value to set.public Boolean securityEnabled()
public ADGroupInner withSecurityEnabled(Boolean securityEnabled)
securityEnabled - the securityEnabled value to set.public String mail()
public ADGroupInner withMail(String mail)
mail - the mail value to set.public void validate()
validate in class DirectoryObjectInnerIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.