Class MicrosoftGraphGroupLifecyclePolicy
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphGroupLifecyclePolicy
groupLifecyclePolicy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphGroupLifecyclePolicy class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: groupLifecyclePolicy.Get the alternateNotificationEmails property: List of email address to send notifications for groups without owners.Get the groupLifetimeInDays property: Number of days before a group expires and needs to be renewed.Get the managedGroupTypes property: The group type for which the expiration policy applies.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: groupLifecyclePolicy.withAlternateNotificationEmails(String alternateNotificationEmails) Set the alternateNotificationEmails property: List of email address to send notifications for groups without owners.withGroupLifetimeInDays(Integer groupLifetimeInDays) Set the groupLifetimeInDays property: Number of days before a group expires and needs to be renewed.Set the id property: Read-only.withManagedGroupTypes(String managedGroupTypes) Set the managedGroupTypes property: The group type for which the expiration policy applies.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphGroupLifecyclePolicy
public MicrosoftGraphGroupLifecyclePolicy()Creates an instance of MicrosoftGraphGroupLifecyclePolicy class.
-
-
Method Details
-
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:
- the alternateNotificationEmails value.
-
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:
alternateNotificationEmails- the alternateNotificationEmails value to set.- Returns:
- the MicrosoftGraphGroupLifecyclePolicy object itself.
-
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:
- the groupLifetimeInDays value.
-
withGroupLifetimeInDays
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:
groupLifetimeInDays- the groupLifetimeInDays value to set.- Returns:
- the MicrosoftGraphGroupLifecyclePolicy object itself.
-
managedGroupTypes
Get the managedGroupTypes property: The group type for which the expiration policy applies. Possible values are All, Selected or None.- Returns:
- the managedGroupTypes value.
-
withManagedGroupTypes
Set the managedGroupTypes property: The group type for which the expiration policy applies. Possible values are All, Selected or None.- Parameters:
managedGroupTypes- the managedGroupTypes value to set.- Returns:
- the MicrosoftGraphGroupLifecyclePolicy object itself.
-
additionalProperties
Get the additionalProperties property: groupLifecyclePolicy.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphGroupLifecyclePolicy withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: groupLifecyclePolicy.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphGroupLifecyclePolicy object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-