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 Details

    • create

      @Stability(Stable) public static CfnThreatIntelSet.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnThreatIntelSet.Builder.
    • activate

      @Stability(Stable) public CfnThreatIntelSet.Builder activate(Boolean 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
    • activate

      @Stability(Stable) public CfnThreatIntelSet.Builder activate(IResolvable 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
    • detectorId

      @Stability(Stable) public CfnThreatIntelSet.Builder detectorId(String detectorId)
      The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.

      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

      @Stability(Stable) public CfnThreatIntelSet.Builder format(String 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
    • location

      @Stability(Stable) public CfnThreatIntelSet.Builder location(String 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
    • name

      @Stability(Stable) public CfnThreatIntelSet.Builder name(String 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
    • tags

      @Stability(Stable) public CfnThreatIntelSet.Builder tags(List<? extends CfnTag> 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
    • build

      @Stability(Stable) public CfnThreatIntelSet build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnThreatIntelSet>
      Returns:
      a newly built instance of CfnThreatIntelSet.