Class CfnDetector.FeatureAdditionalConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnDetector.FeatureAdditionalConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetector.FeatureAdditionalConfigurationProperty>
- Enclosing interface:
- CfnDetector.FeatureAdditionalConfigurationProperty
@Stability(Stable)
public static final class CfnDetector.FeatureAdditionalConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetector.FeatureAdditionalConfigurationProperty>
A builder for
CfnDetector.FeatureAdditionalConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDetector.FeatureAdditionalConfigurationProperty.getName()
Sets the value ofCfnDetector.FeatureAdditionalConfigurationProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnDetector.FeatureAdditionalConfigurationProperty.Builder name(String name) Sets the value ofCfnDetector.FeatureAdditionalConfigurationProperty.getName()
- Parameters:
name
- Name of the additional configuration of a feature.- Returns:
this
-
status
@Stability(Stable) public CfnDetector.FeatureAdditionalConfigurationProperty.Builder status(String status) Sets the value ofCfnDetector.FeatureAdditionalConfigurationProperty.getStatus()
- Parameters:
status
- Status of the additional configuration of a feature.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDetector.FeatureAdditionalConfigurationProperty>
- Returns:
- a new instance of
CfnDetector.FeatureAdditionalConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-