Class FolderPolicy.Builder

  • Enclosing class:
    FolderPolicy

    public static class FolderPolicy.Builder
    extends java.lang.Object
    Builder for FolderPolicy.
    • Method Detail

      • withMemberPolicy

        public FolderPolicy.Builder withMemberPolicy​(MemberPolicy memberPolicy)
        Set value for optional field.
        Parameters:
        memberPolicy - Who can be a member of this shared folder, as set on the folder itself. The effective policy may differ from this value if the team-wide policy is more restrictive. Present only if the folder is owned by a team.
        Returns:
        this builder
      • withResolvedMemberPolicy

        public FolderPolicy.Builder withResolvedMemberPolicy​(MemberPolicy resolvedMemberPolicy)
        Set value for optional field.
        Parameters:
        resolvedMemberPolicy - Who can be a member of this shared folder, taking into account both the folder and the team-wide policy. This value may differ from that of member_policy if the team-wide policy is more restrictive than the folder policy. Present only if the folder is owned by a team.
        Returns:
        this builder
      • withViewerInfoPolicy

        public FolderPolicy.Builder withViewerInfoPolicy​(ViewerInfoPolicy viewerInfoPolicy)
        Set value for optional field.
        Parameters:
        viewerInfoPolicy - Who can enable/disable viewer info for this shared folder.
        Returns:
        this builder