Class MicrosoftGraphPlannerBucket
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPlannerBucket
-
public final class MicrosoftGraphPlannerBucket extends MicrosoftGraphEntity
plannerBucket.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPlannerBucket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: plannerBucket.Stringname()Get the name property: Name of the bucket.StringorderHint()Get the orderHint property: Hint used to order items of this type in a list view.StringplanId()Get the planId property: Plan ID to which the bucket belongs.List<MicrosoftGraphPlannerTask>tasks()Get the tasks property: Read-only.voidvalidate()Validates the instance.MicrosoftGraphPlannerBucketwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: plannerBucket.MicrosoftGraphPlannerBucketwithId(String id)Set the id property: Read-only.MicrosoftGraphPlannerBucketwithName(String name)Set the name property: Name of the bucket.MicrosoftGraphPlannerBucketwithOrderHint(String orderHint)Set the orderHint property: Hint used to order items of this type in a list view.MicrosoftGraphPlannerBucketwithPlanId(String planId)Set the planId property: Plan ID to which the bucket belongs.MicrosoftGraphPlannerBucketwithTasks(List<MicrosoftGraphPlannerTask> tasks)Set the tasks property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the bucket.- Returns:
- the name value.
-
withName
public MicrosoftGraphPlannerBucket withName(String name)
Set the name property: Name of the bucket.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphPlannerBucket object itself.
-
orderHint
public String orderHint()
Get the orderHint property: Hint used to order items of this type in a list view. The format is defined as outlined here.- Returns:
- the orderHint value.
-
withOrderHint
public MicrosoftGraphPlannerBucket withOrderHint(String orderHint)
Set the orderHint property: Hint used to order items of this type in a list view. The format is defined as outlined here.- Parameters:
orderHint- the orderHint value to set.- Returns:
- the MicrosoftGraphPlannerBucket object itself.
-
planId
public String planId()
Get the planId property: Plan ID to which the bucket belongs.- Returns:
- the planId value.
-
withPlanId
public MicrosoftGraphPlannerBucket withPlanId(String planId)
Set the planId property: Plan ID to which the bucket belongs.- Parameters:
planId- the planId value to set.- Returns:
- the MicrosoftGraphPlannerBucket object itself.
-
tasks
public List<MicrosoftGraphPlannerTask> tasks()
Get the tasks property: Read-only. Nullable. The collection of tasks in the bucket.- Returns:
- the tasks value.
-
withTasks
public MicrosoftGraphPlannerBucket withTasks(List<MicrosoftGraphPlannerTask> tasks)
Set the tasks property: Read-only. Nullable. The collection of tasks in the bucket.- Parameters:
tasks- the tasks value to set.- Returns:
- the MicrosoftGraphPlannerBucket object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: plannerBucket.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPlannerBucket withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: plannerBucket.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPlannerBucket object itself.
-
withId
public MicrosoftGraphPlannerBucket 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.
-
-