public CreateFunctionRequest withName(String name) {
        setName(name);
        return this;
    }
<p>
The <code>Function</code> name. The function name does not have to be unique.
</p>

@param name
       The <code>Function</code> name. The function name does not have to be unique.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/CreateFunctionRequest.java