Interface EntityDetectorConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EntityDetectorConfiguration.Builder,
,EntityDetectorConfiguration> SdkBuilder<EntityDetectorConfiguration.Builder,
,EntityDetectorConfiguration> SdkPojo
- Enclosing class:
EntityDetectorConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionallowedStatistics
(Collection<AllowedStatistics> allowedStatistics) Configuration of statistics that are allowed to be run on columns that contain detected entities.allowedStatistics
(Consumer<AllowedStatistics.Builder>... allowedStatistics) Configuration of statistics that are allowed to be run on columns that contain detected entities.allowedStatistics
(AllowedStatistics... allowedStatistics) Configuration of statistics that are allowed to be run on columns that contain detected entities.entityTypes
(String... entityTypes) Entity types to detect.entityTypes
(Collection<String> entityTypes) Entity types to detect.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
entityTypes
Entity types to detect. Can be any of the following:
-
USA_SSN
-
EMAIL
-
USA_ITIN
-
USA_PASSPORT_NUMBER
-
PHONE_NUMBER
-
USA_DRIVING_LICENSE
-
BANK_ACCOUNT
-
CREDIT_CARD
-
IP_ADDRESS
-
MAC_ADDRESS
-
USA_DEA_NUMBER
-
USA_HCPCS_CODE
-
USA_NATIONAL_PROVIDER_IDENTIFIER
-
USA_NATIONAL_DRUG_CODE
-
USA_HEALTH_INSURANCE_CLAIM_NUMBER
-
USA_MEDICARE_BENEFICIARY_IDENTIFIER
-
USA_CPT_CODE
-
PERSON_NAME
-
DATE
The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
- Parameters:
entityTypes
- Entity types to detect. Can be any of the following:-
USA_SSN
-
EMAIL
-
USA_ITIN
-
USA_PASSPORT_NUMBER
-
PHONE_NUMBER
-
USA_DRIVING_LICENSE
-
BANK_ACCOUNT
-
CREDIT_CARD
-
IP_ADDRESS
-
MAC_ADDRESS
-
USA_DEA_NUMBER
-
USA_HCPCS_CODE
-
USA_NATIONAL_PROVIDER_IDENTIFIER
-
USA_NATIONAL_DRUG_CODE
-
USA_HEALTH_INSURANCE_CLAIM_NUMBER
-
USA_MEDICARE_BENEFICIARY_IDENTIFIER
-
USA_CPT_CODE
-
PERSON_NAME
-
DATE
The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
entityTypes
Entity types to detect. Can be any of the following:
-
USA_SSN
-
EMAIL
-
USA_ITIN
-
USA_PASSPORT_NUMBER
-
PHONE_NUMBER
-
USA_DRIVING_LICENSE
-
BANK_ACCOUNT
-
CREDIT_CARD
-
IP_ADDRESS
-
MAC_ADDRESS
-
USA_DEA_NUMBER
-
USA_HCPCS_CODE
-
USA_NATIONAL_PROVIDER_IDENTIFIER
-
USA_NATIONAL_DRUG_CODE
-
USA_HEALTH_INSURANCE_CLAIM_NUMBER
-
USA_MEDICARE_BENEFICIARY_IDENTIFIER
-
USA_CPT_CODE
-
PERSON_NAME
-
DATE
The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
- Parameters:
entityTypes
- Entity types to detect. Can be any of the following:-
USA_SSN
-
EMAIL
-
USA_ITIN
-
USA_PASSPORT_NUMBER
-
PHONE_NUMBER
-
USA_DRIVING_LICENSE
-
BANK_ACCOUNT
-
CREDIT_CARD
-
IP_ADDRESS
-
MAC_ADDRESS
-
USA_DEA_NUMBER
-
USA_HCPCS_CODE
-
USA_NATIONAL_PROVIDER_IDENTIFIER
-
USA_NATIONAL_DRUG_CODE
-
USA_HEALTH_INSURANCE_CLAIM_NUMBER
-
USA_MEDICARE_BENEFICIARY_IDENTIFIER
-
USA_CPT_CODE
-
PERSON_NAME
-
DATE
The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
allowedStatistics
EntityDetectorConfiguration.Builder allowedStatistics(Collection<AllowedStatistics> allowedStatistics) Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.
- Parameters:
allowedStatistics
- Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedStatistics
Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.
- Parameters:
allowedStatistics
- Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedStatistics
EntityDetectorConfiguration.Builder allowedStatistics(Consumer<AllowedStatistics.Builder>... allowedStatistics) Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.
This is a convenience method that creates an instance of theAllowedStatistics.Builder
avoiding the need to create one manually viaAllowedStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toallowedStatistics(List<AllowedStatistics>)
.- Parameters:
allowedStatistics
- a consumer that will call methods onAllowedStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-