@Generated(value="software.amazon.awssdk:codegen") public final class DataSetSearchFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSetSearchFilter.Builder,DataSetSearchFilter>
A filter that you apply when searching for datasets.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataSetSearchFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataSetSearchFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
DataSetFilterAttribute |
name()
The name of the value that you want to use as a filter, for example,
"Name": "QUICKSIGHT_OWNER". |
String |
nameAsString()
The name of the value that you want to use as a filter, for example,
"Name": "QUICKSIGHT_OWNER". |
FilterOperator |
operator()
The comparison operator that you want to use as a filter, for example
"Operator": "StringEquals". |
String |
operatorAsString()
The comparison operator that you want to use as a filter, for example
"Operator": "StringEquals". |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataSetSearchFilter.Builder> |
serializableBuilderClass() |
DataSetSearchFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of the named item, in this case
QUICKSIGHT_OWNER, that you want to use as a filter, for
example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1". |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FilterOperator operator()
The comparison operator that you want to use as a filter, for example "Operator": "StringEquals".
Valid values are "StringEquals" and "StringLike".
If you set the operator value to "StringEquals", you need to provide an ownership related filter in
the "NAME" field and the arn of the user or group whose datasets you want to search in the
"Value" field. For example,
"Name":"QUICKSIGHT_OWNER", "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east- 1:1:user/default/UserName1"
.
If you set the value to "StringLike", you need to provide the name of the datasets you are searching
for. For example, "Name":"DATASET_NAME", "Operator": "StringLike", "Value": "Test". The
"StringLike" operator only supports the NAME value DATASET_NAME.
If the service returns an enum value that is not available in the current SDK version, operator will
return FilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operatorAsString().
"Operator": "StringEquals". Valid values are "StringEquals" and
"StringLike".
If you set the operator value to "StringEquals", you need to provide an ownership related
filter in the "NAME" field and the arn of the user or group whose datasets you want to
search in the "Value" field. For example,
"Name":"QUICKSIGHT_OWNER", "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east- 1:1:user/default/UserName1"
.
If you set the value to "StringLike", you need to provide the name of the datasets you are
searching for. For example, "Name":"DATASET_NAME", "Operator": "StringLike", "Value": "Test"
. The "StringLike" operator only supports the NAME value
DATASET_NAME.
FilterOperatorpublic final String operatorAsString()
The comparison operator that you want to use as a filter, for example "Operator": "StringEquals".
Valid values are "StringEquals" and "StringLike".
If you set the operator value to "StringEquals", you need to provide an ownership related filter in
the "NAME" field and the arn of the user or group whose datasets you want to search in the
"Value" field. For example,
"Name":"QUICKSIGHT_OWNER", "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east- 1:1:user/default/UserName1"
.
If you set the value to "StringLike", you need to provide the name of the datasets you are searching
for. For example, "Name":"DATASET_NAME", "Operator": "StringLike", "Value": "Test". The
"StringLike" operator only supports the NAME value DATASET_NAME.
If the service returns an enum value that is not available in the current SDK version, operator will
return FilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operatorAsString().
"Operator": "StringEquals". Valid values are "StringEquals" and
"StringLike".
If you set the operator value to "StringEquals", you need to provide an ownership related
filter in the "NAME" field and the arn of the user or group whose datasets you want to
search in the "Value" field. For example,
"Name":"QUICKSIGHT_OWNER", "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east- 1:1:user/default/UserName1"
.
If you set the value to "StringLike", you need to provide the name of the datasets you are
searching for. For example, "Name":"DATASET_NAME", "Operator": "StringLike", "Value": "Test"
. The "StringLike" operator only supports the NAME value
DATASET_NAME.
FilterOperatorpublic final DataSetFilterAttribute name()
The name of the value that you want to use as a filter, for example, "Name": "QUICKSIGHT_OWNER".
Valid values are defined as follows:
QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any datasets with that ARN listed
as one of the dataset owners or viewers are returned. Implicit permissions from folders or groups are considered.
QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets with that ARN listed as one of
the owners of the dataset are returned. Implicit permissions from folders or groups are considered.
DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and any datasets with that ARN
listed as the only owner of the dataset are returned. Implicit permissions from folders or groups are not
considered.
DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets with that ARN listed as
one of the owners if the dataset are returned. Implicit permissions from folders or groups are not considered.
DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any datasets with that ARN
listed as one of the owners or viewers of the dataset are returned. Implicit permissions from folders or groups
are not considered.
DATASET_NAME: Any datasets whose names have a substring match to this value will be returned.
If the service returns an enum value that is not available in the current SDK version, name will return
DataSetFilterAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
"Name": "QUICKSIGHT_OWNER".
Valid values are defined as follows:
QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any datasets with that
ARN listed as one of the dataset owners or viewers are returned. Implicit permissions from folders or
groups are considered.
QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets with that ARN listed
as one of the owners of the dataset are returned. Implicit permissions from folders or groups are
considered.
DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and any datasets with that
ARN listed as the only owner of the dataset are returned. Implicit permissions from folders or groups are
not considered.
DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets with that ARN
listed as one of the owners if the dataset are returned. Implicit permissions from folders or groups are
not considered.
DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any datasets with
that ARN listed as one of the owners or viewers of the dataset are returned. Implicit permissions from
folders or groups are not considered.
DATASET_NAME: Any datasets whose names have a substring match to this value will be
returned.
DataSetFilterAttributepublic final String nameAsString()
The name of the value that you want to use as a filter, for example, "Name": "QUICKSIGHT_OWNER".
Valid values are defined as follows:
QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any datasets with that ARN listed
as one of the dataset owners or viewers are returned. Implicit permissions from folders or groups are considered.
QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets with that ARN listed as one of
the owners of the dataset are returned. Implicit permissions from folders or groups are considered.
DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and any datasets with that ARN
listed as the only owner of the dataset are returned. Implicit permissions from folders or groups are not
considered.
DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets with that ARN listed as
one of the owners if the dataset are returned. Implicit permissions from folders or groups are not considered.
DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any datasets with that ARN
listed as one of the owners or viewers of the dataset are returned. Implicit permissions from folders or groups
are not considered.
DATASET_NAME: Any datasets whose names have a substring match to this value will be returned.
If the service returns an enum value that is not available in the current SDK version, name will return
DataSetFilterAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
"Name": "QUICKSIGHT_OWNER".
Valid values are defined as follows:
QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any datasets with that
ARN listed as one of the dataset owners or viewers are returned. Implicit permissions from folders or
groups are considered.
QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets with that ARN listed
as one of the owners of the dataset are returned. Implicit permissions from folders or groups are
considered.
DIRECT_QUICKSIGHT_SOLE_OWNER: Provide an ARN of a user or group, and any datasets with that
ARN listed as the only owner of the dataset are returned. Implicit permissions from folders or groups are
not considered.
DIRECT_QUICKSIGHT_OWNER: Provide an ARN of a user or group, and any datasets with that ARN
listed as one of the owners if the dataset are returned. Implicit permissions from folders or groups are
not considered.
DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: Provide an ARN of a user or group, and any datasets with
that ARN listed as one of the owners or viewers of the dataset are returned. Implicit permissions from
folders or groups are not considered.
DATASET_NAME: Any datasets whose names have a substring match to this value will be
returned.
DataSetFilterAttributepublic final String value()
The value of the named item, in this case QUICKSIGHT_OWNER, that you want to use as a filter, for
example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1".
QUICKSIGHT_OWNER, that you want to use as a
filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1".public DataSetSearchFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataSetSearchFilter.Builder,DataSetSearchFilter>public static DataSetSearchFilter.Builder builder()
public static Class<? extends DataSetSearchFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.