Interface MicrosoftPurviewProviderConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MicrosoftPurviewProviderConfig.Builder,,MicrosoftPurviewProviderConfig> SdkBuilder<MicrosoftPurviewProviderConfig.Builder,,MicrosoftPurviewProviderConfig> SdkPojo
- Enclosing class:
MicrosoftPurviewProviderConfig
-
Method Summary
Modifier and TypeMethodDescriptioncredentials(Consumer<MicrosoftPurviewCredentials.Builder> credentials) The credentials used to authenticate with Microsoft Purview.credentials(MicrosoftPurviewCredentials credentials) The credentials used to authenticate with Microsoft Purview.labelActionMappings(Collection<LabelActionMapping> labelActionMappings) The mappings from Microsoft Purview sensitivity labels to enforcement actions.labelActionMappings(Consumer<LabelActionMapping.Builder>... labelActionMappings) The mappings from Microsoft Purview sensitivity labels to enforcement actions.labelActionMappings(LabelActionMapping... labelActionMappings) The mappings from Microsoft Purview sensitivity labels to enforcement actions.unmappedAction(String unmappedAction) The default action to apply to content that has no sensitivity label or whose label is not mapped.unmappedAction(DlpAction unmappedAction) The default action to apply to content that has no sensitivity label or whose label is not mapped.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
-
credentials
The credentials used to authenticate with Microsoft Purview.
- Parameters:
credentials- The credentials used to authenticate with Microsoft Purview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
default MicrosoftPurviewProviderConfig.Builder credentials(Consumer<MicrosoftPurviewCredentials.Builder> credentials) The credentials used to authenticate with Microsoft Purview.
This is a convenience method that creates an instance of theMicrosoftPurviewCredentials.Builderavoiding the need to create one manually viaMicrosoftPurviewCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(MicrosoftPurviewCredentials).- Parameters:
credentials- a consumer that will call methods onMicrosoftPurviewCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
labelActionMappings
MicrosoftPurviewProviderConfig.Builder labelActionMappings(Collection<LabelActionMapping> labelActionMappings) The mappings from Microsoft Purview sensitivity labels to enforcement actions.
- Parameters:
labelActionMappings- The mappings from Microsoft Purview sensitivity labels to enforcement actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelActionMappings
MicrosoftPurviewProviderConfig.Builder labelActionMappings(LabelActionMapping... labelActionMappings) The mappings from Microsoft Purview sensitivity labels to enforcement actions.
- Parameters:
labelActionMappings- The mappings from Microsoft Purview sensitivity labels to enforcement actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelActionMappings
MicrosoftPurviewProviderConfig.Builder labelActionMappings(Consumer<LabelActionMapping.Builder>... labelActionMappings) The mappings from Microsoft Purview sensitivity labels to enforcement actions.
This is a convenience method that creates an instance of theLabelActionMapping.Builderavoiding the need to create one manually viaLabelActionMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabelActionMappings(List<LabelActionMapping>).- Parameters:
labelActionMappings- a consumer that will call methods onLabelActionMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unmappedAction
The default action to apply to content that has no sensitivity label or whose label is not mapped. Valid values are
ALLOW,BLOCK, andWARN.- Parameters:
unmappedAction- The default action to apply to content that has no sensitivity label or whose label is not mapped. Valid values areALLOW,BLOCK, andWARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unmappedAction
The default action to apply to content that has no sensitivity label or whose label is not mapped. Valid values are
ALLOW,BLOCK, andWARN.- Parameters:
unmappedAction- The default action to apply to content that has no sensitivity label or whose label is not mapped. Valid values areALLOW,BLOCK, andWARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-