Class FieldSecurity.Builder

All Implemented Interfaces:
Enclosing class:

public static class FieldSecurity.Builder
extends ObjectBuilderBase
implements ObjectBuilder<FieldSecurity>
Builder for FieldSecurity.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • except

      public final FieldSecurity.Builder except​(java.util.List<java.lang.String> list)
      API name: except

      Adds all elements of list to except.

    • except

      public final FieldSecurity.Builder except​(java.lang.String value, java.lang.String... values)
      API name: except

      Adds one or more values to except.

    • grant

      public final FieldSecurity.Builder grant​(java.util.List<java.lang.String> list)
      Required - API name: grant

      Adds all elements of list to grant.

    • grant

      public final FieldSecurity.Builder grant​(java.lang.String value, java.lang.String... values)
      Required - API name: grant

      Adds one or more values to grant.

    • build

      public FieldSecurity build()
      Builds a FieldSecurity.
      Specified by:
      build in interface ObjectBuilder<FieldSecurity>
      java.lang.NullPointerException - if some of the required fields are null.