Class DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.InstanceDetailsItem>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.InstanceDetailsItem
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.InstanceDetailsItem>
A builder for
DetectorEvents.GuardDutyFinding.InstanceDetailsItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipv6Addresses(List<? extends Object> ipv6Addresses) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getIpv6Addresses()networkInterfaceId(List<String> networkInterfaceId) privateDnsName(List<String> privateDnsName) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getPrivateDnsName()privateIpAddress(List<String> privateIpAddress) privateIpAddresses(List<? extends DetectorEvents.GuardDutyFinding.InstanceDetailsItemItem> privateIpAddresses) publicDnsName(List<String> publicDnsName) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getPublicDnsName()Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getPublicIp()securityGroups(List<? extends DetectorEvents.GuardDutyFinding.InstanceDetailsItemItem1> securityGroups) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getSecurityGroups()Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getSubnetId()Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv6Addresses
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder ipv6Addresses(List<? extends Object> ipv6Addresses) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getIpv6Addresses()- Parameters:
ipv6Addresses- ipv6Addresses property. Specify an array of string values to match this event if the actual value of ipv6Addresses is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
networkInterfaceId
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder networkInterfaceId(List<String> networkInterfaceId) - Parameters:
networkInterfaceId- networkInterfaceId property. Specify an array of string values to match this event if the actual value of networkInterfaceId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
privateDnsName
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder privateDnsName(List<String> privateDnsName) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.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 DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder privateIpAddress(List<String> privateIpAddress) - 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
-
privateIpAddresses
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder privateIpAddresses(List<? extends DetectorEvents.GuardDutyFinding.InstanceDetailsItemItem> privateIpAddresses) - Parameters:
privateIpAddresses- privateIpAddresses property. Specify an array of string values to match this event if the actual value of privateIpAddresses is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
publicDnsName
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder publicDnsName(List<String> publicDnsName) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getPublicDnsName()- Parameters:
publicDnsName- publicDnsName property. Specify an array of string values to match this event if the actual value of publicDnsName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
publicIp
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder publicIp(List<String> publicIp) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getPublicIp()- Parameters:
publicIp- publicIp property. Specify an array of string values to match this event if the actual value of publicIp is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
securityGroups
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder securityGroups(List<? extends DetectorEvents.GuardDutyFinding.InstanceDetailsItemItem1> securityGroups) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getSecurityGroups()- Parameters:
securityGroups- securityGroups property. Specify an array of string values to match this event if the actual value of securityGroups is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
subnetId
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder subnetId(List<String> subnetId) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getSubnetId()- Parameters:
subnetId- subnetId property. Specify an array of string values to match this event if the actual value of subnetId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
vpcId
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.InstanceDetailsItem.Builder vpcId(List<String> vpcId) Sets the value ofDetectorEvents.GuardDutyFinding.InstanceDetailsItem.getVpcId()- Parameters:
vpcId- vpcId property. Specify an array of string values to match this event if the actual value of vpcId 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<DetectorEvents.GuardDutyFinding.InstanceDetailsItem>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.InstanceDetailsItem - Throws:
NullPointerException- if any required attribute was not provided
-