Class CfnThreatEntitySetProps.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnThreatEntitySetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThreatEntitySetProps>
- Enclosing interface:
CfnThreatEntitySetProps
@Stability(Stable)
public static final class CfnThreatEntitySetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThreatEntitySetProps>
A builder for
CfnThreatEntitySetProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnThreatEntitySetProps.getActivate()
activate
(IResolvable activate) Sets the value ofCfnThreatEntitySetProps.getActivate()
build()
Builds the configured instance.detectorId
(String detectorId) Sets the value ofCfnThreatEntitySetProps.getDetectorId()
expectedBucketOwner
(String expectedBucketOwner) Sets the value ofCfnThreatEntitySetProps.getExpectedBucketOwner()
Sets the value ofCfnThreatEntitySetProps.getFormat()
Sets the value ofCfnThreatEntitySetProps.getLocation()
Sets the value ofCfnThreatEntitySetProps.getName()
tags
(List<? extends CfnThreatEntitySet.TagItemProperty> tags) Sets the value ofCfnThreatEntitySetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
Sets the value ofCfnThreatEntitySetProps.getFormat()
- Parameters:
format
- the value to be set. This parameter is required.- Returns:
this
-
location
Sets the value ofCfnThreatEntitySetProps.getLocation()
- Parameters:
location
- the value to be set. This parameter is required.- Returns:
this
-
activate
Sets the value ofCfnThreatEntitySetProps.getActivate()
- Parameters:
activate
- the value to be set.- Returns:
this
-
activate
Sets the value ofCfnThreatEntitySetProps.getActivate()
- Parameters:
activate
- the value to be set.- Returns:
this
-
detectorId
Sets the value ofCfnThreatEntitySetProps.getDetectorId()
- Parameters:
detectorId
- the value to be set.- Returns:
this
-
expectedBucketOwner
@Stability(Stable) public CfnThreatEntitySetProps.Builder expectedBucketOwner(String expectedBucketOwner) Sets the value ofCfnThreatEntitySetProps.getExpectedBucketOwner()
- Parameters:
expectedBucketOwner
- the value to be set.- Returns:
this
-
name
Sets the value ofCfnThreatEntitySetProps.getName()
- Parameters:
name
- the value to be set.- Returns:
this
-
tags
@Stability(Stable) public CfnThreatEntitySetProps.Builder tags(List<? extends CfnThreatEntitySet.TagItemProperty> tags) Sets the value ofCfnThreatEntitySetProps.getTags()
- Parameters:
tags
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThreatEntitySetProps>
- Returns:
- a new instance of
CfnThreatEntitySetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-