Class GuardDutyFinding.EbsVolumeDetailsItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.EbsVolumeDetailsItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.EbsVolumeDetailsItem>
- Enclosing interface:
GuardDutyFinding.EbsVolumeDetailsItem
@Stability(Experimental)
public static final class GuardDutyFinding.EbsVolumeDetailsItem.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.EbsVolumeDetailsItem>
A builder for
GuardDutyFinding.EbsVolumeDetailsItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deviceName(List<String> deviceName) Sets the value ofGuardDutyFinding.EbsVolumeDetailsItem.getDeviceName()encryptionType(List<String> encryptionType) Sets the value ofGuardDutyFinding.EbsVolumeDetailsItem.getEncryptionType()Sets the value ofGuardDutyFinding.EbsVolumeDetailsItem.getKmsKeyArn()snapshotArn(List<String> snapshotArn) Sets the value ofGuardDutyFinding.EbsVolumeDetailsItem.getSnapshotArn()Sets the value ofGuardDutyFinding.EbsVolumeDetailsItem.getVolumeArn()volumeSizeInGb(List<String> volumeSizeInGb) Sets the value ofGuardDutyFinding.EbsVolumeDetailsItem.getVolumeSizeInGb()volumeType(List<String> volumeType) Sets the value ofGuardDutyFinding.EbsVolumeDetailsItem.getVolumeType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceName
@Stability(Experimental) public GuardDutyFinding.EbsVolumeDetailsItem.Builder deviceName(List<String> deviceName) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeDetailsItem.Builder encryptionType(List<String> encryptionType) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeDetailsItem.Builder kmsKeyArn(List<String> kmsKeyArn) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeDetailsItem.Builder snapshotArn(List<String> snapshotArn) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeDetailsItem.Builder volumeArn(List<String> volumeArn) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeDetailsItem.Builder volumeSizeInGb(List<String> volumeSizeInGb) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeDetailsItem.Builder volumeType(List<String> volumeType) Sets the value ofGuardDutyFinding.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<GuardDutyFinding.EbsVolumeDetailsItem>- Returns:
- a new instance of
GuardDutyFinding.EbsVolumeDetailsItem - Throws:
NullPointerException- if any required attribute was not provided
-