Class MicrosoftGraphPlannerPlan
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPlannerPlan
-
public final class MicrosoftGraphPlannerPlan extends MicrosoftGraphEntity
plannerPlan.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPlannerPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: plannerPlan.List<MicrosoftGraphPlannerBucket>
buckets()
Get the buckets property: Read-only.MicrosoftGraphIdentitySet
createdBy()
Get the createdBy property: identitySet.OffsetDateTime
createdDateTime()
Get the createdDateTime property: Read-only.MicrosoftGraphPlannerPlanDetails
details()
Get the details property: plannerPlanDetails.String
owner()
Get the owner property: ID of the Group that owns the plan.List<MicrosoftGraphPlannerTask>
tasks()
Get the tasks property: Read-only.String
title()
Get the title property: Required.void
validate()
Validates the instance.MicrosoftGraphPlannerPlan
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: plannerPlan.MicrosoftGraphPlannerPlan
withBuckets(List<MicrosoftGraphPlannerBucket> buckets)
Set the buckets property: Read-only.MicrosoftGraphPlannerPlan
withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.MicrosoftGraphPlannerPlan
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Read-only.MicrosoftGraphPlannerPlan
withDetails(MicrosoftGraphPlannerPlanDetails details)
Set the details property: plannerPlanDetails.MicrosoftGraphPlannerPlan
withId(String id)
Set the id property: Read-only.MicrosoftGraphPlannerPlan
withOwner(String owner)
Set the owner property: ID of the Group that owns the plan.MicrosoftGraphPlannerPlan
withTasks(List<MicrosoftGraphPlannerTask> tasks)
Set the tasks property: Read-only.MicrosoftGraphPlannerPlan
withTitle(String title)
Set the title property: Required.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
createdBy
public MicrosoftGraphIdentitySet createdBy()
Get the createdBy property: identitySet.- Returns:
- the createdBy value.
-
withCreatedBy
public MicrosoftGraphPlannerPlan withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the MicrosoftGraphPlannerPlan object itself.
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Read-only. Date and time at which the plan is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
public MicrosoftGraphPlannerPlan withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Read-only. Date and time at which the plan is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.- Parameters:
createdDateTime
- the createdDateTime value to set.- Returns:
- the MicrosoftGraphPlannerPlan object itself.
-
owner
public String owner()
Get the owner property: ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated.- Returns:
- the owner value.
-
withOwner
public MicrosoftGraphPlannerPlan withOwner(String owner)
Set the owner property: ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated.- Parameters:
owner
- the owner value to set.- Returns:
- the MicrosoftGraphPlannerPlan object itself.
-
title
public String title()
Get the title property: Required. Title of the plan.- Returns:
- the title value.
-
withTitle
public MicrosoftGraphPlannerPlan withTitle(String title)
Set the title property: Required. Title of the plan.- Parameters:
title
- the title value to set.- Returns:
- the MicrosoftGraphPlannerPlan object itself.
-
buckets
public List<MicrosoftGraphPlannerBucket> buckets()
Get the buckets property: Read-only. Nullable. Collection of buckets in the plan.- Returns:
- the buckets value.
-
withBuckets
public MicrosoftGraphPlannerPlan withBuckets(List<MicrosoftGraphPlannerBucket> buckets)
Set the buckets property: Read-only. Nullable. Collection of buckets in the plan.- Parameters:
buckets
- the buckets value to set.- Returns:
- the MicrosoftGraphPlannerPlan object itself.
-
details
public MicrosoftGraphPlannerPlanDetails details()
Get the details property: plannerPlanDetails.- Returns:
- the details value.
-
withDetails
public MicrosoftGraphPlannerPlan withDetails(MicrosoftGraphPlannerPlanDetails details)
Set the details property: plannerPlanDetails.- Parameters:
details
- the details value to set.- Returns:
- the MicrosoftGraphPlannerPlan object itself.
-
tasks
public List<MicrosoftGraphPlannerTask> tasks()
Get the tasks property: Read-only. Nullable. Collection of tasks in the plan.- Returns:
- the tasks value.
-
withTasks
public MicrosoftGraphPlannerPlan withTasks(List<MicrosoftGraphPlannerTask> tasks)
Set the tasks property: Read-only. Nullable. Collection of tasks in the plan.- Parameters:
tasks
- the tasks value to set.- Returns:
- the MicrosoftGraphPlannerPlan object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: plannerPlan.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPlannerPlan withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: plannerPlan.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPlannerPlan object itself.
-
withId
public MicrosoftGraphPlannerPlan 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.
-
-