code: public LaunchSpecification withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) {
          if (this.blockDeviceMappings == null) {
              setBlockDeviceMappings(new com.amazonaws.internal.SdkInternalList<BlockDeviceMapping>(blockDeviceMappings.length));
          }
          for (BlockDeviceMapping ele : blockDeviceMappings) {
              this.blockDeviceMappings.add(ele);
          }
          return this;
      }
docs: <p>
  One or more block device mapping entries.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setBlockDeviceMappings(java.util.Collection)} or {@link #withBlockDeviceMappings(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param blockDeviceMappings
  One or more block device mapping entries.
  @return Returns a reference to this object so that method calls can be chained together.