code: public GetInventorySchemaResult withSchemas(InventoryItemSchema... schemas) {
          if (this.schemas == null) {
              setSchemas(new com.amazonaws.internal.SdkInternalList<InventoryItemSchema>(schemas.length));
          }
          for (InventoryItemSchema ele : schemas) {
              this.schemas.add(ele);
          }
          return this;
      }
docs: <p>
  Inventory schemas returned by the request.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSchemas(java.util.Collection)} or {@link #withSchemas(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param schemas
  Inventory schemas returned by the request.
  @return Returns a reference to this object so that method calls can be chained together.