Interface LabelActionMapping.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LabelActionMapping.Builder,,LabelActionMapping> SdkBuilder<LabelActionMapping.Builder,,LabelActionMapping> SdkPojo
- Enclosing class:
LabelActionMapping
@Mutable
@NotThreadSafe
public static interface LabelActionMapping.Builder
extends SdkPojo, CopyableBuilder<LabelActionMapping.Builder,LabelActionMapping>
-
Method Summary
Modifier and TypeMethodDescriptionThe enforcement action to apply when content with this sensitivity label is detected.The enforcement action to apply when content with this sensitivity label is detected.The identifier of the sensitivity label from the DLP provider.The display name of the sensitivity label from the DLP provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
labelId
The identifier of the sensitivity label from the DLP provider.
- Parameters:
labelId- The identifier of the sensitivity label from the DLP provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelName
The display name of the sensitivity label from the DLP provider.
- Parameters:
labelName- The display name of the sensitivity label from the DLP provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The enforcement action to apply when content with this sensitivity label is detected. Valid values are
ALLOW,BLOCK, andWARN.- Parameters:
action- The enforcement action to apply when content with this sensitivity label is detected. Valid values areALLOW,BLOCK, andWARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The enforcement action to apply when content with this sensitivity label is detected. Valid values are
ALLOW,BLOCK, andWARN.- Parameters:
action- The enforcement action to apply when content with this sensitivity label is detected. Valid values areALLOW,BLOCK, andWARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-