public IpamPoolSourceResource withResourceType(String resourceType) {
        setResourceType(resourceType);
        return this;
    }
<p>
The source resource type.
</p>

@param resourceType
       The source resource type.
@return Returns a reference to this object so that method calls can be chained together.
@see IpamPoolSourceResourceType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/IpamPoolSourceResource.java