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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.findingPublishingFrequency
(String findingPublishingFrequency) Sets the value ofCfnSessionProps.getFindingPublishingFrequency()
Sets the value ofCfnSessionProps.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
findingPublishingFrequency
@Stability(Stable) public CfnSessionProps.Builder findingPublishingFrequency(String findingPublishingFrequency) Sets the value ofCfnSessionProps.getFindingPublishingFrequency()
- 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
Sets the value ofCfnSessionProps.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
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSessionProps>
- Returns:
- a new instance of
CfnSessionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-