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