public static final class CfnThreatIntelSetProps.Builder
extends java.lang.Object
CfnThreatIntelSetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnThreatIntelSetProps.Builder |
activate(java.lang.Boolean activate)
Sets the value of
CfnThreatIntelSetProps.getActivate() |
CfnThreatIntelSetProps.Builder |
activate(IResolvable activate)
Sets the value of
CfnThreatIntelSetProps.getActivate() |
CfnThreatIntelSetProps |
build()
Builds the configured instance.
|
CfnThreatIntelSetProps.Builder |
detectorId(java.lang.String detectorId)
Sets the value of
CfnThreatIntelSetProps.getDetectorId() |
CfnThreatIntelSetProps.Builder |
format(java.lang.String format)
Sets the value of
CfnThreatIntelSetProps.getFormat() |
CfnThreatIntelSetProps.Builder |
location(java.lang.String location)
Sets the value of
CfnThreatIntelSetProps.getLocation() |
CfnThreatIntelSetProps.Builder |
name(java.lang.String name)
Sets the value of
CfnThreatIntelSetProps.getName() |
CfnThreatIntelSetProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnThreatIntelSetProps.getTags() |
public CfnThreatIntelSetProps.Builder activate(java.lang.Boolean activate)
CfnThreatIntelSetProps.getActivate()
activate
- A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. This parameter is required.this
public CfnThreatIntelSetProps.Builder activate(IResolvable activate)
CfnThreatIntelSetProps.getActivate()
activate
- A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. This parameter is required.this
public CfnThreatIntelSetProps.Builder detectorId(java.lang.String detectorId)
CfnThreatIntelSetProps.getDetectorId()
detectorId
- The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for. This parameter is required.this
public CfnThreatIntelSetProps.Builder format(java.lang.String format)
CfnThreatIntelSetProps.getFormat()
format
- The format of the file that contains the ThreatIntelSet. This parameter is required.this
public CfnThreatIntelSetProps.Builder location(java.lang.String location)
CfnThreatIntelSetProps.getLocation()
location
- The URI of the file that contains the ThreatIntelSet. This parameter is required.this
public CfnThreatIntelSetProps.Builder name(java.lang.String name)
CfnThreatIntelSetProps.getName()
name
- A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.this
public CfnThreatIntelSetProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnThreatIntelSetProps.getTags()
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 .
this
public CfnThreatIntelSetProps build()
CfnThreatIntelSetProps
java.lang.NullPointerException
- if any required attribute was not provided