public UpdateAssetResult withName(String name) {
        setName(name);
        return this;
    }
<p>
The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When
exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon
API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name
is used as the asset name. When importing from AWS Lake Formation, the static values of
"Database(s) included in the LF-tag policy"- or "Table(s) included in LF-tag policy" are used as the asset name.
</p>

@param name
       The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name.
       When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing
       from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift,
       the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of
       "Database(s) included in the LF-tag policy"- or "Table(s) included in LF-tag policy" are used as the asset
       name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/UpdateAssetResult.java