Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.graphrbac.implementation; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty;
Request parameters for creating a new group.
/** * Request parameters for creating a new group. */
public class GroupCreateParametersInner {
Unmatched properties from the message are deserialized this collection.
/** * Unmatched properties from the message are deserialized this collection. */
@JsonProperty(value = "") private Map<String, Object> additionalProperties;
Group display name.
/** * Group display name. */
@JsonProperty(value = "displayName", required = true) private String displayName;
Whether the group is mail-enabled. Must be false. This is because only pure security groups can be created using the Graph API.
/** * Whether the group is mail-enabled. Must be false. This is because only * pure security groups can be created using the Graph API. */
@JsonProperty(value = "mailEnabled", required = true) private boolean mailEnabled;
Mail nickname.
/** * Mail nickname. */
@JsonProperty(value = "mailNickname", required = true) private String mailNickname;
Whether the group is a security group. Must be true. This is because only pure security groups can be created using the Graph API.
/** * Whether the group is a security group. Must be true. This is because * only pure security groups can be created using the Graph API. */
@JsonProperty(value = "securityEnabled", required = true) private boolean securityEnabled;
Creates an instance of GroupCreateParametersInner class.
/** * Creates an instance of GroupCreateParametersInner class. */
public GroupCreateParametersInner() { mailEnabled = false; securityEnabled = true; }
Get the additionalProperties value.
Returns:the additionalProperties value
/** * Get the additionalProperties value. * * @return the additionalProperties value */
public Map<String, Object> additionalProperties() { return this.additionalProperties; }
Set the additionalProperties value.
Params:
  • additionalProperties – the additionalProperties value to set
Returns:the GroupCreateParametersInner object itself.
/** * Set the additionalProperties value. * * @param additionalProperties the additionalProperties value to set * @return the GroupCreateParametersInner object itself. */
public GroupCreateParametersInner withAdditionalProperties(Map<String, Object> additionalProperties) { this.additionalProperties = additionalProperties; return this; }
Get the displayName value.
Returns:the displayName value
/** * Get the displayName value. * * @return the displayName value */
public String displayName() { return this.displayName; }
Set the displayName value.
Params:
  • displayName – the displayName value to set
Returns:the GroupCreateParametersInner object itself.
/** * Set the displayName value. * * @param displayName the displayName value to set * @return the GroupCreateParametersInner object itself. */
public GroupCreateParametersInner withDisplayName(String displayName) { this.displayName = displayName; return this; }
Get the mailEnabled value.
Returns:the mailEnabled value
/** * Get the mailEnabled value. * * @return the mailEnabled value */
public boolean mailEnabled() { return this.mailEnabled; }
Set the mailEnabled value.
Params:
  • mailEnabled – the mailEnabled value to set
Returns:the GroupCreateParametersInner object itself.
/** * Set the mailEnabled value. * * @param mailEnabled the mailEnabled value to set * @return the GroupCreateParametersInner object itself. */
public GroupCreateParametersInner withMailEnabled(boolean mailEnabled) { this.mailEnabled = mailEnabled; return this; }
Get the mailNickname value.
Returns:the mailNickname value
/** * Get the mailNickname value. * * @return the mailNickname value */
public String mailNickname() { return this.mailNickname; }
Set the mailNickname value.
Params:
  • mailNickname – the mailNickname value to set
Returns:the GroupCreateParametersInner object itself.
/** * Set the mailNickname value. * * @param mailNickname the mailNickname value to set * @return the GroupCreateParametersInner object itself. */
public GroupCreateParametersInner withMailNickname(String mailNickname) { this.mailNickname = mailNickname; return this; }
Get the securityEnabled value.
Returns:the securityEnabled value
/** * Get the securityEnabled value. * * @return the securityEnabled value */
public boolean securityEnabled() { return this.securityEnabled; }
Set the securityEnabled value.
Params:
  • securityEnabled – the securityEnabled value to set
Returns:the GroupCreateParametersInner object itself.
/** * Set the securityEnabled value. * * @param securityEnabled the securityEnabled value to set * @return the GroupCreateParametersInner object itself. */
public GroupCreateParametersInner withSecurityEnabled(boolean securityEnabled) { this.securityEnabled = securityEnabled; return this; } }