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