Class CfnThreatIntelSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnThreatIntelSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThreatIntelSetProps>
- Enclosing interface:
- CfnThreatIntelSetProps
@Stability(Stable)
public static final class CfnThreatIntelSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThreatIntelSetProps>
A builder for
CfnThreatIntelSetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnThreatIntelSetProps.getActivate()activate(IResolvable activate) Sets the value ofCfnThreatIntelSetProps.getActivate()build()Builds the configured instance.detectorId(String detectorId) Sets the value ofCfnThreatIntelSetProps.getDetectorId()Sets the value ofCfnThreatIntelSetProps.getFormat()Sets the value ofCfnThreatIntelSetProps.getLocation()Sets the value ofCfnThreatIntelSetProps.getName()Sets the value ofCfnThreatIntelSetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activate
Sets the value ofCfnThreatIntelSetProps.getActivate()- Parameters:
activate- A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. This parameter is required.- Returns:
this
-
activate
Sets the value ofCfnThreatIntelSetProps.getActivate()- Parameters:
activate- A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. This parameter is required.- Returns:
this
-
detectorId
Sets the value ofCfnThreatIntelSetProps.getDetectorId()- Parameters:
detectorId- The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for. This parameter is required.- Returns:
this
-
format
Sets the value ofCfnThreatIntelSetProps.getFormat()- Parameters:
format- The format of the file that contains the ThreatIntelSet. This parameter is required.- Returns:
this
-
location
Sets the value ofCfnThreatIntelSetProps.getLocation()- Parameters:
location- The URI of the file that contains the ThreatIntelSet. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnThreatIntelSetProps.getName()- Parameters:
name- A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.- Returns:
this
-
tags
Sets the value ofCfnThreatIntelSetProps.getTags()- Parameters:
tags- The tags to be added to a new threat list resource. Each tag consists of a key and an optional value, both of which you define.For more information, see Tag .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThreatIntelSetProps>- Returns:
- a new instance of
CfnThreatIntelSetProps - Throws:
NullPointerException- if any required attribute was not provided
-