public ElasticGpuSpecificationResponse withType(String type) {
        setType(type);
        return this;
    }
<p>
Deprecated.
</p>
<note>
<p>
Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration,
we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
</p>
</note>

@param type
       Deprecated.</p> <note>
       <p>
       Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics
       acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ElasticGpuSpecificationResponse.java