public NFSFileShareInfo withFileShareName(String fileShareName) {
        setFileShareName(fileShareName);
        return this;
    }
<p>
The name of the file share. Optional.
</p>
<note>
<p>
<code>FileShareName</code> must be set if an S3 prefix name is set in <code>LocationARN</code>, or if an access
point or access point alias is used.
</p>
</note>

@param fileShareName
       The name of the file share. Optional.</p> <note>
       <p>
       <code>FileShareName</code> must be set if an S3 prefix name is set in <code>LocationARN</code>, or if an
       access point or access point alias is used.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/NFSFileShareInfo.java