Interface CreateDlpSettingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDlpSettingRequest.Builder,,CreateDlpSettingRequest> QuickSightRequest.Builder,SdkBuilder<CreateDlpSettingRequest.Builder,,CreateDlpSettingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDlpSettingRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The ID of the Amazon Web Services account in which to create the DLP setting.dlpSettingId(String dlpSettingId) A unique identifier for the DLP setting.Specifies whether DLP enforcement is active for this setting.A human-readable display name for the DLP setting.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateDlpSettingRequest.BuilderproviderConfig(Consumer<ProviderConfig.Builder> providerConfig) The provider-specific configuration for the DLP integration.providerConfig(ProviderConfig providerConfig) The provider-specific configuration for the DLP integration.providerOutageAction(String providerOutageAction) The behavior to apply when the DLP provider is unreachable.providerOutageAction(DlpAction providerOutageAction) The behavior to apply when the DLP provider is unreachable.providerType(String providerType) The type of external DLP provider to use for sensitivity label classification.providerType(DlpProviderType providerType) The type of external DLP provider to use for sensitivity label classification.tags(Collection<Tag> tags) A list of resource tags to apply to the DLP setting.tags(Consumer<Tag.Builder>... tags) A list of resource tags to apply to the DLP setting.A list of resource tags to apply to the DLP setting.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account in which to create the DLP setting.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account in which to create the DLP setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dlpSettingId
A unique identifier for the DLP setting.
- Parameters:
dlpSettingId- A unique identifier for the DLP setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A human-readable display name for the DLP setting.
- Parameters:
name- A human-readable display name for the DLP setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerType
The type of external DLP provider to use for sensitivity label classification. Currently, the only supported value is
MICROSOFT_PURVIEW.- Parameters:
providerType- The type of external DLP provider to use for sensitivity label classification. Currently, the only supported value isMICROSOFT_PURVIEW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerType
The type of external DLP provider to use for sensitivity label classification. Currently, the only supported value is
MICROSOFT_PURVIEW.- Parameters:
providerType- The type of external DLP provider to use for sensitivity label classification. Currently, the only supported value isMICROSOFT_PURVIEW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerConfig
The provider-specific configuration for the DLP integration. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- Parameters:
providerConfig- The provider-specific configuration for the DLP integration. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerConfig
default CreateDlpSettingRequest.Builder providerConfig(Consumer<ProviderConfig.Builder> providerConfig) The provider-specific configuration for the DLP integration. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
This is a convenience method that creates an instance of theProviderConfig.Builderavoiding the need to create one manually viaProviderConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproviderConfig(ProviderConfig).- Parameters:
providerConfig- a consumer that will call methods onProviderConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerOutageAction
The behavior to apply when the DLP provider is unreachable. Valid values are
ALLOW,WARN, andBLOCK.- Parameters:
providerOutageAction- The behavior to apply when the DLP provider is unreachable. Valid values areALLOW,WARN, andBLOCK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerOutageAction
The behavior to apply when the DLP provider is unreachable. Valid values are
ALLOW,WARN, andBLOCK.- Parameters:
providerOutageAction- The behavior to apply when the DLP provider is unreachable. Valid values areALLOW,WARN, andBLOCK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enabled
Specifies whether DLP enforcement is active for this setting. Set to
trueto enable enforcement, orfalseto disable it at time of setting creation.- Parameters:
enabled- Specifies whether DLP enforcement is active for this setting. Set totrueto enable enforcement, orfalseto disable it at time of setting creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of resource tags to apply to the DLP setting. You can use tags to manage access to your Amazon Web Services resources.
- Parameters:
tags- A list of resource tags to apply to the DLP setting. You can use tags to manage access to your Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of resource tags to apply to the DLP setting. You can use tags to manage access to your Amazon Web Services resources.
- Parameters:
tags- A list of resource tags to apply to the DLP setting. You can use tags to manage access to your Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of resource tags to apply to the DLP setting. You can use tags to manage access to your Amazon Web Services resources.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateDlpSettingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDlpSettingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-