Interface UpdateDlpSettingRequest.Builder

  • Method Details

    • awsAccountId

      UpdateDlpSettingRequest.Builder awsAccountId(String awsAccountId)

      The ID of the Amazon Web Services account that contains the DLP setting that you want to update.

      Parameters:
      awsAccountId - The ID of the Amazon Web Services account that contains the DLP setting that you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dlpSettingId

      UpdateDlpSettingRequest.Builder dlpSettingId(String dlpSettingId)

      The ID of the DLP setting that you want to update.

      Parameters:
      dlpSettingId - The ID of the DLP setting that you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      An updated display name for the DLP setting.

      Parameters:
      name - An updated display name for the DLP setting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerType

      UpdateDlpSettingRequest.Builder providerType(String providerType)

      An updated DLP provider type. Currently, the only supported value is MICROSOFT_PURVIEW.

      Parameters:
      providerType - An updated DLP provider type. Currently, the only supported value is MICROSOFT_PURVIEW.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerType

      An updated DLP provider type. Currently, the only supported value is MICROSOFT_PURVIEW.

      Parameters:
      providerType - An updated DLP provider type. Currently, the only supported value is MICROSOFT_PURVIEW.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerConfig

      UpdateDlpSettingRequest.Builder providerConfig(ProviderConfig providerConfig)

      An updated 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 - An updated 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 UpdateDlpSettingRequest.Builder providerConfig(Consumer<ProviderConfig.Builder> providerConfig)

      An updated 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 the ProviderConfig.Builder avoiding the need to create one manually via ProviderConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to providerConfig(ProviderConfig).

      Parameters:
      providerConfig - a consumer that will call methods on ProviderConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerOutageAction

      UpdateDlpSettingRequest.Builder providerOutageAction(String providerOutageAction)

      An updated behavior to apply when the DLP provider is unreachable. Valid values are ALLOW, WARN, and BLOCK.

      Parameters:
      providerOutageAction - An updated behavior to apply when the DLP provider is unreachable. Valid values are ALLOW , WARN, and BLOCK.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerOutageAction

      UpdateDlpSettingRequest.Builder providerOutageAction(DlpAction providerOutageAction)

      An updated behavior to apply when the DLP provider is unreachable. Valid values are ALLOW, WARN, and BLOCK.

      Parameters:
      providerOutageAction - An updated behavior to apply when the DLP provider is unreachable. Valid values are ALLOW , WARN, and BLOCK.
      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 true to enable enforcement, or false to disable it.

      Parameters:
      enabled - Specifies whether DLP enforcement is active for this setting. Set to true to enable enforcement, or false to disable it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateDlpSettingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.