public void setSubnet(AnalysisComponent subnet) {
        this.subnet = subnet;
    }
<p>
The subnet.
</p>

@param subnet
       The subnet.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/PathComponent.java