Class MicrosoftGraphShared

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShared

public final class MicrosoftGraphShared extends Object
shared.
  • Constructor Details

    • MicrosoftGraphShared

      public MicrosoftGraphShared()
      Creates an instance of MicrosoftGraphShared class.
  • Method Details

    • owner

      public MicrosoftGraphIdentitySet owner()
      Get the owner property: identitySet.
      Returns:
      the owner value.
    • withOwner

      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.