Class DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem>
A builder for
DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deviceName(List<String> deviceName) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getDeviceName()encryptionType(List<String> encryptionType) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getEncryptionType()Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getKmsKeyArn()snapshotArn(List<String> snapshotArn) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getSnapshotArn()Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getVolumeArn()volumeSizeInGb(List<String> volumeSizeInGb) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getVolumeSizeInGb()volumeType(List<String> volumeType) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getVolumeType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceName
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder deviceName(List<String> deviceName) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getDeviceName()- Parameters:
deviceName- deviceName property. Specify an array of string values to match this event if the actual value of deviceName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
encryptionType
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder encryptionType(List<String> encryptionType) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getEncryptionType()- Parameters:
encryptionType- encryptionType property. Specify an array of string values to match this event if the actual value of encryptionType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
kmsKeyArn
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder kmsKeyArn(List<String> kmsKeyArn) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getKmsKeyArn()- Parameters:
kmsKeyArn- kmsKeyArn property. Specify an array of string values to match this event if the actual value of kmsKeyArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
snapshotArn
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder snapshotArn(List<String> snapshotArn) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getSnapshotArn()- Parameters:
snapshotArn- snapshotArn property. Specify an array of string values to match this event if the actual value of snapshotArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
volumeArn
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder volumeArn(List<String> volumeArn) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getVolumeArn()- Parameters:
volumeArn- volumeArn property. Specify an array of string values to match this event if the actual value of volumeArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
volumeSizeInGb
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder volumeSizeInGb(List<String> volumeSizeInGb) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getVolumeSizeInGb()- Parameters:
volumeSizeInGb- volumeSizeInGB property. Specify an array of string values to match this event if the actual value of volumeSizeInGB is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
volumeType
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.Builder volumeType(List<String> volumeType) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem.getVolumeType()- Parameters:
volumeType- volumeType property. Specify an array of string values to match this event if the actual value of volumeType 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.EbsVolumeDetailsItem>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.EbsVolumeDetailsItem - Throws:
NullPointerException- if any required attribute was not provided
-