docs: public PipelineOutputConfig withPermissions(Permission... permissions) {
          if (this.permissions == null) {
              setPermissions(new com.amazonaws.internal.SdkInternalList<Permission>(permissions.length));
          }
          for (Permission ele : permissions) {
              this.permissions.add(ele);
          }
          return this;
      }