Interface CreateDlpSettingRequest.Builder

  • Method Details

    • awsAccountId

      CreateDlpSettingRequest.Builder awsAccountId(String 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

      CreateDlpSettingRequest.Builder dlpSettingId(String 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

      CreateDlpSettingRequest.Builder providerType(String 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 is MICROSOFT_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 is MICROSOFT_PURVIEW.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerConfig

      CreateDlpSettingRequest.Builder providerConfig(ProviderConfig 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 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

      CreateDlpSettingRequest.Builder providerOutageAction(String providerOutageAction)

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

      Parameters:
      providerOutageAction - The 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

      CreateDlpSettingRequest.Builder providerOutageAction(DlpAction providerOutageAction)

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

      Parameters:
      providerOutageAction - The 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 at time of setting creation.

      Parameters:
      enabled - Specifies whether DLP enforcement is active for this setting. Set to true to enable enforcement, or false to 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.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.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.