public CreateIpamPoolRequest withSourceResource(IpamPoolSourceResourceRequest sourceResource) {
        setSourceResource(sourceResource);
        return this;
    }
<p>
The resource used to provision CIDRs to a resource planning pool.
</p>

@param sourceResource
       The resource used to provision CIDRs to a resource planning pool.
@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/CreateIpamPoolRequest.java