Class ThreatIntelSetReference.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.ThreatIntelSetReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ThreatIntelSetReference>
- Enclosing interface:
ThreatIntelSetReference
@Stability(Stable)
public static final class ThreatIntelSetReference.Builder
extends Object
implements software.amazon.jsii.Builder<ThreatIntelSetReference>
A builder for
ThreatIntelSetReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.detectorId
(String detectorId) Sets the value ofThreatIntelSetReference.getDetectorId()
threatIntelSetId
(String threatIntelSetId) Sets the value ofThreatIntelSetReference.getThreatIntelSetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
detectorId
Sets the value ofThreatIntelSetReference.getDetectorId()
- Parameters:
detectorId
- The DetectorId of the ThreatIntelSet resource. This parameter is required.- Returns:
this
-
threatIntelSetId
Sets the value ofThreatIntelSetReference.getThreatIntelSetId()
- Parameters:
threatIntelSetId
- The Id of the ThreatIntelSet resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ThreatIntelSetReference>
- Returns:
- a new instance of
ThreatIntelSetReference
- Throws:
NullPointerException
- if any required attribute was not provided
-