Class SharingPolicy.Builder

    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • withPublicSharingPolicy

        public SharingPolicy.Builder withPublicSharingPolicy​(SharingPublicPolicyType publicSharingPolicy)
        Set value for optional field.
        Parameters:
        publicSharingPolicy - This value applies to the non-team members.
        Returns:
        this builder
      • withTeamSharingPolicy

        public SharingPolicy.Builder withTeamSharingPolicy​(SharingTeamPolicyType teamSharingPolicy)
        Set value for optional field.
        Parameters:
        teamSharingPolicy - This value applies to the team members only. The value is null for all personal accounts.
        Returns:
        this builder