Class DataSourceSearchFilter
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.DataSourceSearchFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceSearchFilter.Builder,DataSourceSearchFilter>
@Generated("software.amazon.awssdk:codegen") public final class DataSourceSearchFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceSearchFilter.Builder,DataSourceSearchFilter>
A filter that you apply when searching for data sources.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSourceSearchFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSourceSearchFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DataSourceFilterAttributename()The name of the value that you want to use as a filter, for example,"Name": "DIRECT_QUICKSIGHT_OWNER".StringnameAsString()The name of the value that you want to use as a filter, for example,"Name": "DIRECT_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".Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DataSourceSearchFilter.Builder>serializableBuilderClass()DataSourceSearchFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of the named item, for exampleDIRECT_QUICKSIGHT_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 data sources you want to search in the"Value"field. For example,"Name":"DIRECT_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 data sources you are searching for. For example,"Name":"DATASOURCE_NAME", "Operator": "StringLike", "Value": "Test". The"StringLike"operator only supports theNAMEvalueDATASOURCE_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 data sources you want to search in the"Value"field. For example,"Name":"DIRECT_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 data sources you are searching for. For example,"Name":"DATASOURCE_NAME", "Operator": "StringLike", "Value": "Test". The"StringLike"operator only supports theNAMEvalueDATASOURCE_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 data sources you want to search in the"Value"field. For example,"Name":"DIRECT_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 data sources you are searching for. For example,"Name":"DATASOURCE_NAME", "Operator": "StringLike", "Value": "Test". The"StringLike"operator only supports theNAMEvalueDATASOURCE_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 data sources you want to search in the"Value"field. For example,"Name":"DIRECT_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 data sources you are searching for. For example,"Name":"DATASOURCE_NAME", "Operator": "StringLike", "Value": "Test". The"StringLike"operator only supports theNAMEvalueDATASOURCE_NAME. - See Also:
FilterOperator
-
name
public final DataSourceFilterAttribute name()
The name of the value that you want to use as a filter, for example,
"Name": "DIRECT_QUICKSIGHT_OWNER".Valid values are defined as follows:
-
DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: 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. -
DIRECT_QUICKSIGHT_OWNER: 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. -
DIRECT_QUICKSIGHT_SOLE_OWNER: 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. -
DATASOURCE_NAME: Any data sources whose names have a substring match to the provided value are returned.
If the service returns an enum value that is not available in the current SDK version,
namewill returnDataSourceFilterAttribute.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": "DIRECT_QUICKSIGHT_OWNER".Valid values are defined as follows:
-
DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: 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. -
DIRECT_QUICKSIGHT_OWNER: 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. -
DIRECT_QUICKSIGHT_SOLE_OWNER: 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. -
DATASOURCE_NAME: Any data sources whose names have a substring match to the provided value are returned.
-
- See Also:
DataSourceFilterAttribute
-
-
nameAsString
public final String nameAsString()
The name of the value that you want to use as a filter, for example,
"Name": "DIRECT_QUICKSIGHT_OWNER".Valid values are defined as follows:
-
DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: 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. -
DIRECT_QUICKSIGHT_OWNER: 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. -
DIRECT_QUICKSIGHT_SOLE_OWNER: 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. -
DATASOURCE_NAME: Any data sources whose names have a substring match to the provided value are returned.
If the service returns an enum value that is not available in the current SDK version,
namewill returnDataSourceFilterAttribute.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": "DIRECT_QUICKSIGHT_OWNER".Valid values are defined as follows:
-
DIRECT_QUICKSIGHT_VIEWER_OR_OWNER: 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. -
DIRECT_QUICKSIGHT_OWNER: 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. -
DIRECT_QUICKSIGHT_SOLE_OWNER: 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. -
DATASOURCE_NAME: Any data sources whose names have a substring match to the provided value are returned.
-
- See Also:
DataSourceFilterAttribute
-
-
value
public final String value()
The value of the named item, for example
DIRECT_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, for example
DIRECT_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 DataSourceSearchFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceSearchFilter.Builder,DataSourceSearchFilter>
-
builder
public static DataSourceSearchFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSourceSearchFilter.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-