public AwsAutoScalingLaunchConfigurationDetails withBlockDeviceMappings(AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails... blockDeviceMappings) {
        if (this.blockDeviceMappings == null) {
            setBlockDeviceMappings(new java.util.ArrayList<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>(blockDeviceMappings.length));
        }
        for (AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails ele : blockDeviceMappings) {
            this.blockDeviceMappings.add(ele);
        }
        return this;
    }
<p>
Specifies the block devices for the instance.
</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
       Specifies the block devices for the instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsAutoScalingLaunchConfigurationDetails.java