Class DataSetSearchFilter
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DataSetSearchFilter.Builder,
DataSetSearchFilter>
A filter that you apply when searching for datasets.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataSetSearchFilter.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final DataSetFilterAttribute
name()
The name of the value that you want to use as a filter, for example,"Name": "QUICKSIGHT_OWNER"
.final String
The name of the value that you want to use as a filter, for example,"Name": "QUICKSIGHT_OWNER"
.final FilterOperator
operator()
The comparison operator that you want to use as a filter, for example"Operator": "StringEquals"
.final String
The comparison operator that you want to use as a filter, for example"Operator": "StringEquals"
.static Class
<? extends DataSetSearchFilter.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
value()
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 interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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 theNAME
valueDATASET_NAME
.If the service returns an enum value that is not available in the current SDK version,
operator
will 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 theNAME
valueDATASET_NAME
. - See Also:
-
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 theNAME
valueDATASET_NAME
.If the service returns an enum value that is not available in the current SDK version,
operator
will 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 theNAME
valueDATASET_NAME
. - See Also:
-
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 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:
-
-
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 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:
-
-
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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DataSetSearchFilter.Builder,
DataSetSearchFilter> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-