code: public Snapshot withRestorableNodeTypes(String... restorableNodeTypes) {
          if (this.restorableNodeTypes == null) {
              setRestorableNodeTypes(new com.amazonaws.internal.SdkInternalList<String>(restorableNodeTypes.length));
          }
          for (String ele : restorableNodeTypes) {
              this.restorableNodeTypes.add(ele);
          }
          return this;
      }
docs: <p>
  The list of node types that this cluster snapshot is able to restore into.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRestorableNodeTypes(java.util.Collection)} or {@link #withRestorableNodeTypes(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param restorableNodeTypes
  The list of node types that this cluster snapshot is able to restore into.
  @return Returns a reference to this object so that method calls can be chained together.