public void setType(String type) {
        this.type = type;
    }
<p>
The type of data source location.
</p>

@param type
       The type of data source location.
@see RetrievalResultLocationType
aws-java-sdk-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/RetrievalResultLocation.java