Class GuardDutyFinding.InstanceDetailsItemItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.InstanceDetailsItemItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.InstanceDetailsItemItem>
- Enclosing interface:
GuardDutyFinding.InstanceDetailsItemItem
@Stability(Experimental)
public static final class GuardDutyFinding.InstanceDetailsItemItem.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.InstanceDetailsItemItem>
A builder for
GuardDutyFinding.InstanceDetailsItemItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.privateDnsName(List<String> privateDnsName) Sets the value ofGuardDutyFinding.InstanceDetailsItemItem.getPrivateDnsName()privateIpAddress(List<String> privateIpAddress) Sets the value ofGuardDutyFinding.InstanceDetailsItemItem.getPrivateIpAddress()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
privateDnsName
@Stability(Experimental) public GuardDutyFinding.InstanceDetailsItemItem.Builder privateDnsName(List<String> privateDnsName) Sets the value ofGuardDutyFinding.InstanceDetailsItemItem.getPrivateDnsName()- Parameters:
privateDnsName- privateDnsName property. Specify an array of string values to match this event if the actual value of privateDnsName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
privateIpAddress
@Stability(Experimental) public GuardDutyFinding.InstanceDetailsItemItem.Builder privateIpAddress(List<String> privateIpAddress) Sets the value ofGuardDutyFinding.InstanceDetailsItemItem.getPrivateIpAddress()- Parameters:
privateIpAddress- privateIpAddress property. Specify an array of string values to match this event if the actual value of privateIpAddress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GuardDutyFinding.InstanceDetailsItemItem>- Returns:
- a new instance of
GuardDutyFinding.InstanceDetailsItemItem - Throws:
NullPointerException- if any required attribute was not provided
-