Class CfnSessionProps.Builder

java.lang.Object
software.amazon.awscdk.services.macie.CfnSessionProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionProps>
Enclosing interface:
CfnSessionProps

@Stability(Stable) public static final class CfnSessionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSessionProps>
A builder for CfnSessionProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • findingPublishingFrequency

      @Stability(Stable) public CfnSessionProps.Builder findingPublishingFrequency(String findingPublishingFrequency)
      Parameters:
      findingPublishingFrequency - Specifies how often Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events ). Valid values are:

      • FIFTEEN_MINUTES
      • ONE_HOUR
      • SIX_HOURS
      Returns:
      this
    • status

      @Stability(Stable) public CfnSessionProps.Builder status(String status)
      Sets the value of CfnSessionProps.getStatus()
      Parameters:
      status - The status of Amazon Macie for the account. Valid values are: ENABLED , start or resume all Macie activities for the account; and, PAUSED , suspend all Macie activities for the account.
      Returns:
      this
    • build

      @Stability(Stable) public CfnSessionProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSessionProps>
      Returns:
      a new instance of CfnSessionProps
      Throws:
      NullPointerException - if any required attribute was not provided