Class CfnThreatIntelSet.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnThreatIntelSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThreatIntelSet>
- Enclosing class:
CfnThreatIntelSet
@Stability(Stable)
public static final class CfnThreatIntelSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThreatIntelSet>
A fluent builder for
CfnThreatIntelSet
.-
Method Summary
Modifier and TypeMethodDescriptionA Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.activate
(IResolvable activate) A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.build()
static CfnThreatIntelSet.Builder
detectorId
(String detectorId) The unique ID of the detector of the GuardDuty account for which you want to create aThreatIntelSet
.The format of the file that contains the ThreatIntelSet.The URI of the file that contains the ThreatIntelSet.A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.The tags to be added to a new threat list resource.
-
Method Details
-
create
@Stability(Stable) public static CfnThreatIntelSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnThreatIntelSet.Builder
.
-
format
The format of the file that contains the ThreatIntelSet.- Parameters:
format
- The format of the file that contains the ThreatIntelSet. This parameter is required.- Returns:
this
- See Also:
-
location
The URI of the file that contains the ThreatIntelSet.- Parameters:
location
- The URI of the file that contains the ThreatIntelSet. This parameter is required.- Returns:
this
- See Also:
-
activate
A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.- Parameters:
activate
- A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. This parameter is required.- Returns:
this
- See Also:
-
activate
A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.- Parameters:
activate
- A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. This parameter is required.- Returns:
this
- See Also:
-
detectorId
The unique ID of the detector of the GuardDuty account for which you want to create aThreatIntelSet
.To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId
- The unique ID of the detector of the GuardDuty account for which you want to create aThreatIntelSet
. This parameter is required.- Returns:
this
- See Also:
-
name
A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.- Parameters:
name
- A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet. This parameter is required.- Returns:
this
- See Also:
-
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 .
- Parameters:
tags
- The tags to be added to a new threat list resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThreatIntelSet>
- Returns:
- a newly built instance of
CfnThreatIntelSet
.
-