Class LegalHoldsUpdatePolicyBuilder

    • Method Detail

      • withName

        public LegalHoldsUpdatePolicyBuilder withName​(java.lang.String name)
        Set value for optional field.
        Parameters:
        name - Policy new name. Must have length of at most 140.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withDescription

        public LegalHoldsUpdatePolicyBuilder withDescription​(java.lang.String description)
        Set value for optional field.
        Parameters:
        description - Policy new description. Must have length of at most 501.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withMembers

        public LegalHoldsUpdatePolicyBuilder withMembers​(java.util.List<java.lang.String> members)
        Set value for optional field.
        Parameters:
        members - List of team member IDs to apply the policy on. Must not contain a null item.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.