Class MicrosoftGraphGroupLifecyclePolicyInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphGroupLifecyclePolicyInner
-
public final class MicrosoftGraphGroupLifecyclePolicyInner extends MicrosoftGraphEntity
groupLifecyclePolicy.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphGroupLifecyclePolicyInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: groupLifecyclePolicy.StringalternateNotificationEmails()Get the alternateNotificationEmails property: List of email address to send notifications for groups without owners.IntegergroupLifetimeInDays()Get the groupLifetimeInDays property: Number of days before a group expires and needs to be renewed.StringmanagedGroupTypes()Get the managedGroupTypes property: The group type for which the expiration policy applies.voidvalidate()Validates the instance.MicrosoftGraphGroupLifecyclePolicyInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: groupLifecyclePolicy.MicrosoftGraphGroupLifecyclePolicyInnerwithAlternateNotificationEmails(String alternateNotificationEmails)Set the alternateNotificationEmails property: List of email address to send notifications for groups without owners.MicrosoftGraphGroupLifecyclePolicyInnerwithGroupLifetimeInDays(Integer groupLifetimeInDays)Set the groupLifetimeInDays property: Number of days before a group expires and needs to be renewed.MicrosoftGraphGroupLifecyclePolicyInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphGroupLifecyclePolicyInnerwithManagedGroupTypes(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
-
-
-
-
Method Detail
-
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:
- the alternateNotificationEmails value.
-
withAlternateNotificationEmails
public MicrosoftGraphGroupLifecyclePolicyInner 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 MicrosoftGraphGroupLifecyclePolicyInner object itself.
-
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:
- the groupLifetimeInDays value.
-
withGroupLifetimeInDays
public MicrosoftGraphGroupLifecyclePolicyInner 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:
groupLifetimeInDays- the groupLifetimeInDays value to set.- Returns:
- the MicrosoftGraphGroupLifecyclePolicyInner object itself.
-
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:
- the managedGroupTypes value.
-
withManagedGroupTypes
public MicrosoftGraphGroupLifecyclePolicyInner withManagedGroupTypes(String managedGroupTypes)
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 MicrosoftGraphGroupLifecyclePolicyInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: groupLifecyclePolicy.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphGroupLifecyclePolicyInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: groupLifecyclePolicy.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphGroupLifecyclePolicyInner object itself.
-
withId
public MicrosoftGraphGroupLifecyclePolicyInner withId(String id)
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.
-
-