public void setEc2VolumeId(String ec2VolumeId) {
        this.ec2VolumeId = ec2VolumeId;
    }
<p>
The Amazon EBS volume ID.
</p>

@param ec2VolumeId
       The Amazon EBS volume ID.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/RegisterVolumeRequest.java