public GetApplicationResult withName(String name) {
        setName(name);
        return this;
    }
<p>
The name of the application.
</p>
<p>
Minimum length=1. Maximum length=140
</p>
<p>
Pattern: "[a-zA-Z0-9\\-]+";
</p>

@param name
       The name of the application.</p>
       <p>
       Minimum length=1. Maximum length=140
       </p>
       <p>
       Pattern: "[a-zA-Z0-9\\-]+";
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-serverlessapplicationrepository/src/main/java/com/amazonaws/services/serverlessapplicationrepository/model/GetApplicationResult.java