Class DataSetSearchFilter
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.DataSetSearchFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSetSearchFilter.Builder,DataSetSearchFilter>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSetSearchFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSetSearchFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DataSetFilterAttributename()The name of the value that you want to use as a filter, for example,"Name": "QUICKSIGHT_OWNER".StringnameAsString()The name of the value that you want to use as a filter, for example,"Name": "QUICKSIGHT_OWNER".FilterOperatoroperator()The comparison operator that you want to use as a filter, for example"Operator": "StringEquals".StringoperatorAsString()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of the named item, in this caseQUICKSIGHT_OWNER, that you want to use as a filter, for example,"Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1".-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
operator
public 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 theNAMEvalueDATASET_NAME.If the service returns an enum value that is not available in the current SDK version,
operatorwill returnFilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- 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 theNAMEvalueDATASET_NAME. - See Also:
FilterOperator
-
operatorAsString
public 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 theNAMEvalueDATASET_NAME.If the service returns an enum value that is not available in the current SDK version,
operatorwill returnFilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- 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 theNAMEvalueDATASET_NAME. - See Also:
FilterOperator
-
name
public 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,
namewill returnDataSetFilterAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- 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.
-
- See Also:
DataSetFilterAttribute
-
-
nameAsString
public 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,
namewill returnDataSetFilterAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- 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.
-
- See Also:
DataSetFilterAttribute
-
-
value
public 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".- Returns:
- 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".
-
toBuilder
public DataSetSearchFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSetSearchFilter.Builder,DataSetSearchFilter>
-
builder
public static DataSetSearchFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSetSearchFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-