MicrosoftGraphGroupLifecyclePolicy Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphGroupLifecyclePolicy
- com.
- com.
public final class MicrosoftGraphGroupLifecyclePolicy
extends MicrosoftGraphEntity
groupLifecyclePolicy.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphGroupLifecyclePolicy() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
alternateNotificationEmails()
Get the alternate |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Integer |
groupLifetimeInDays()
Get the group |
String |
managedGroupTypes()
Get the managed |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAlternateNotificationEmails(String alternateNotificationEmails)
Set the alternate |
Microsoft |
withGroupLifetimeInDays(Integer groupLifetimeInDays)
Set the group |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withManagedGroupTypes(String managedGroupTypes)
Set the managed |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphGroupLifecyclePolicy
public MicrosoftGraphGroupLifecyclePolicy()
Creates an instance of MicrosoftGraphGroupLifecyclePolicy class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: groupLifecyclePolicy.
Overrides:
MicrosoftGraphGroupLifecyclePolicy.additionalProperties()Returns:
alternateNotificationEmails
public String alternateNotificationEmails()
Get the alternateNotificationEmails property: List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon.
Returns:
fromJson
public static MicrosoftGraphGroupLifecyclePolicy fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphGroupLifecyclePolicy from the JsonReader.
Parameters:
Returns:
Throws:
groupLifetimeInDays
public Integer groupLifetimeInDays()
Get the groupLifetimeInDays property: Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined.
Returns:
managedGroupTypes
public String managedGroupTypes()
Get the managedGroupTypes property: The group type for which the expiration policy applies. Possible values are All, Selected or None.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphGroupLifecyclePolicy.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphGroupLifecyclePolicy.validate()withAdditionalProperties
public MicrosoftGraphGroupLifecyclePolicy withAdditionalProperties(Map
Set the additionalProperties property: groupLifecyclePolicy.
Overrides:
MicrosoftGraphGroupLifecyclePolicy.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAlternateNotificationEmails
public MicrosoftGraphGroupLifecyclePolicy withAlternateNotificationEmails(String alternateNotificationEmails)
Set the alternateNotificationEmails property: List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon.
Parameters:
Returns:
withGroupLifetimeInDays
public MicrosoftGraphGroupLifecyclePolicy withGroupLifetimeInDays(Integer groupLifetimeInDays)
Set the groupLifetimeInDays property: Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined.
Parameters:
Returns:
withId
public MicrosoftGraphGroupLifecyclePolicy withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphGroupLifecyclePolicy.withId(String id)Parameters:
withManagedGroupTypes
public MicrosoftGraphGroupLifecyclePolicy withManagedGroupTypes(String managedGroupTypes)
Set the managedGroupTypes property: The group type for which the expiration policy applies. Possible values are All, Selected or None.
Parameters:
Returns:
Applies to
Azure SDK for Java