public DataSourceSearchFilter withName(DataSourceFilterAttribute name) {
        this.name = name.toString();
        return this;
    }
<p>
The name of the value that you want to use as a filter, for example,
<code>"Name": "DIRECT_QUICKSIGHT_OWNER"</code>.
</p>
<p>
Valid values are defined as follows:
</p>
<ul>
<li>
<p>
<code>DIRECT_QUICKSIGHT_VIEWER_OR_OWNER</code>: Provide an ARN of a user or group, and any data sources with that
ARN listed as one of the owners or viewers of the data sources are returned. Implicit permissions from folders or
groups are not considered.
</p>
</li>
<li>
<p>
<code>DIRECT_QUICKSIGHT_OWNER</code>: Provide an ARN of a user or group, and any data sources with that ARN
listed as one of the owners if the data source are returned. Implicit permissions from folders or groups are not
considered.
</p>
</li>
<li>
<p>
<code>DIRECT_QUICKSIGHT_SOLE_OWNER</code>: Provide an ARN of a user or group, and any data sources with that ARN
listed as the only owner of the data source are returned. Implicit permissions from folders or groups are not
considered.
</p>
</li>
<li>
<p>
<code>DATASOURCE_NAME</code>: Any data sources whose names have a substring match to the provided value are
returned.
</p>
</li>
</ul>

@param name
       The name of the value that you want to use as a filter, for example,
       <code>"Name": "DIRECT_QUICKSIGHT_OWNER"</code>.</p>
       <p>
       Valid values are defined as follows:
       </p>
       <ul>
       <li>
       <p>
       <code>DIRECT_QUICKSIGHT_VIEWER_OR_OWNER</code>: Provide an ARN of a user or group, and any data sources
       with that ARN listed as one of the owners or viewers of the data sources are returned. Implicit
       permissions from folders or groups are not considered.
       </p>
       </li>
       <li>
       <p>
       <code>DIRECT_QUICKSIGHT_OWNER</code>: Provide an ARN of a user or group, and any data sources with that
       ARN listed as one of the owners if the data source are returned. Implicit permissions from folders or
       groups are not considered.
       </p>
       </li>
       <li>
       <p>
       <code>DIRECT_QUICKSIGHT_SOLE_OWNER</code>: Provide an ARN of a user or group, and any data sources with
       that ARN listed as the only owner of the data source are returned. Implicit permissions from folders or
       groups are not considered.
       </p>
       </li>
       <li>
       <p>
       <code>DATASOURCE_NAME</code>: Any data sources whose names have a substring match to the provided value
       are returned.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see DataSourceFilterAttribute
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/DataSourceSearchFilter.java