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