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