public AwsEc2InstanceDetails withVpcId(String vpcId) {
        setVpcId(vpcId);
        return this;
    }
<p>
The identifier of the VPC that the instance was launched in.
</p>

@param vpcId
       The identifier of the VPC that the instance was launched in.
@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/AwsEc2InstanceDetails.java