Class CfnDetectorPropsMixin.CFNFeatureConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.mixins.CfnDetectorPropsMixin.CFNFeatureConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNFeatureConfigurationProperty>
- Enclosing interface:
CfnDetectorPropsMixin.CFNFeatureConfigurationProperty
@Stability(Stable)
public static final class CfnDetectorPropsMixin.CFNFeatureConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNFeatureConfigurationProperty>
A builder for
CfnDetectorPropsMixin.CFNFeatureConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalConfiguration(List<? extends Object> additionalConfiguration) additionalConfiguration(IResolvable additionalConfiguration) build()Builds the configured instance.Sets the value ofCfnDetectorPropsMixin.CFNFeatureConfigurationProperty.getName()Sets the value ofCfnDetectorPropsMixin.CFNFeatureConfigurationProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalConfiguration
@Stability(Stable) public CfnDetectorPropsMixin.CFNFeatureConfigurationProperty.Builder additionalConfiguration(IResolvable additionalConfiguration) Sets the value ofCfnDetectorPropsMixin.CFNFeatureConfigurationProperty.getAdditionalConfiguration()- Parameters:
additionalConfiguration- Information about the additional configuration of a feature in your account.- Returns:
this
-
additionalConfiguration
@Stability(Stable) public CfnDetectorPropsMixin.CFNFeatureConfigurationProperty.Builder additionalConfiguration(List<? extends Object> additionalConfiguration) Sets the value ofCfnDetectorPropsMixin.CFNFeatureConfigurationProperty.getAdditionalConfiguration()- Parameters:
additionalConfiguration- Information about the additional configuration of a feature in your account.- Returns:
this
-
name
@Stability(Stable) public CfnDetectorPropsMixin.CFNFeatureConfigurationProperty.Builder name(String name) Sets the value ofCfnDetectorPropsMixin.CFNFeatureConfigurationProperty.getName()- Parameters:
name- Name of the feature. For a list of allowed values, see DetectorFeatureConfiguration in the GuardDuty API Reference .- Returns:
this
-
status
@Stability(Stable) public CfnDetectorPropsMixin.CFNFeatureConfigurationProperty.Builder status(String status) Sets the value ofCfnDetectorPropsMixin.CFNFeatureConfigurationProperty.getStatus()- Parameters:
status- Status of the feature configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorPropsMixin.CFNFeatureConfigurationProperty>- Returns:
- a new instance of
CfnDetectorPropsMixin.CFNFeatureConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-