Class MicrosoftGraphShared
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShared
-
public final class MicrosoftGraphShared extends Object
shared.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphShared()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: shared.MicrosoftGraphIdentitySet
owner()
Get the owner property: identitySet.String
scope()
Get the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users.MicrosoftGraphIdentitySet
sharedBy()
Get the sharedBy property: identitySet.OffsetDateTime
sharedDateTime()
Get the sharedDateTime property: The UTC date and time when the item was shared.void
validate()
Validates the instance.MicrosoftGraphShared
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: shared.MicrosoftGraphShared
withOwner(MicrosoftGraphIdentitySet owner)
Set the owner property: identitySet.MicrosoftGraphShared
withScope(String scope)
Set the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users.MicrosoftGraphShared
withSharedBy(MicrosoftGraphIdentitySet sharedBy)
Set the sharedBy property: identitySet.MicrosoftGraphShared
withSharedDateTime(OffsetDateTime sharedDateTime)
Set the sharedDateTime property: The UTC date and time when the item was shared.
-
-
-
Method Detail
-
owner
public MicrosoftGraphIdentitySet owner()
Get the owner property: identitySet.- Returns:
- the owner value.
-
withOwner
public MicrosoftGraphShared withOwner(MicrosoftGraphIdentitySet owner)
Set the owner property: identitySet.- Parameters:
owner
- the owner value to set.- Returns:
- the MicrosoftGraphShared object itself.
-
scope
public String scope()
Get the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only.- Returns:
- the scope value.
-
withScope
public MicrosoftGraphShared withScope(String scope)
Set the scope property: Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only.- Parameters:
scope
- the scope value to set.- Returns:
- the MicrosoftGraphShared object itself.
-
sharedBy
public MicrosoftGraphIdentitySet sharedBy()
Get the sharedBy property: identitySet.- Returns:
- the sharedBy value.
-
withSharedBy
public MicrosoftGraphShared withSharedBy(MicrosoftGraphIdentitySet sharedBy)
Set the sharedBy property: identitySet.- Parameters:
sharedBy
- the sharedBy value to set.- Returns:
- the MicrosoftGraphShared object itself.
-
sharedDateTime
public OffsetDateTime sharedDateTime()
Get the sharedDateTime property: The UTC date and time when the item was shared. Read-only.- Returns:
- the sharedDateTime value.
-
withSharedDateTime
public MicrosoftGraphShared withSharedDateTime(OffsetDateTime sharedDateTime)
Set the sharedDateTime property: The UTC date and time when the item was shared. Read-only.- Parameters:
sharedDateTime
- the sharedDateTime value to set.- Returns:
- the MicrosoftGraphShared object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: shared.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphShared withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: shared.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphShared object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-