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.String
name()
Get the name property: Name of the bucket.String
orderHint()
Get the orderHint property: Hint used to order items of this type in a list view.String
planId()
Get the planId property: Plan ID to which the bucket belongs.List<MicrosoftGraphPlannerTask>
tasks()
Get the tasks property: Read-only.void
validate()
Validates the instance.MicrosoftGraphPlannerBucket
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: plannerBucket.MicrosoftGraphPlannerBucket
withId(String id)
Set the id property: Read-only.MicrosoftGraphPlannerBucket
withName(String name)
Set the name property: Name of the bucket.MicrosoftGraphPlannerBucket
withOrderHint(String orderHint)
Set the orderHint property: Hint used to order items of this type in a list view.MicrosoftGraphPlannerBucket
withPlanId(String planId)
Set the planId property: Plan ID to which the bucket belongs.MicrosoftGraphPlannerBucket
withTasks(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:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPlannerBucket withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: plannerBucket.- Overrides:
withAdditionalProperties
in 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-