public GetCoreDefinitionVersionResult withVersion(String version) {
        setVersion(version);
        return this;
    }
The version of the core definition version.

@param version
       The version of the core definition version.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/GetCoreDefinitionVersionResult.java