Class GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps>
- Enclosing interface:
GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps
@Stability(Experimental)
public static final class GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningPropsbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) resourceStatus(List<String> resourceStatus) schemaVersion(List<String> schemaVersion) statusReasons(List<? extends GuardDutyMalwareProtectionResourceStatusWarning.StatusReason> statusReasons)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofGuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventTime
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.Builder eventTime(List<String> eventTime) Sets the value ofGuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.getEventTime()- Parameters:
eventTime- eventTime property. Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceStatus
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.Builder resourceStatus(List<String> resourceStatus) Sets the value ofGuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.getResourceStatus()- Parameters:
resourceStatus- resourceStatus property. Specify an array of string values to match this event if the actual value of resourceStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
s3BucketDetails
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.Builder s3BucketDetails(GuardDutyMalwareProtectionResourceStatusWarning.S3BucketDetails s3BucketDetails) Sets the value ofGuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.getS3BucketDetails()- Parameters:
s3BucketDetails- s3BucketDetails property. Specify an array of string values to match this event if the actual value of s3BucketDetails is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
schemaVersion
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.Builder schemaVersion(List<String> schemaVersion) Sets the value ofGuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.getSchemaVersion()- Parameters:
schemaVersion- schemaVersion property. Specify an array of string values to match this event if the actual value of schemaVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
statusReasons
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.Builder statusReasons(List<? extends GuardDutyMalwareProtectionResourceStatusWarning.StatusReason> statusReasons) Sets the value ofGuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps.getStatusReasons()- Parameters:
statusReasons- statusReasons property. Specify an array of string values to match this event if the actual value of statusReasons is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps>- Returns:
- a new instance of
GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps - Throws:
NullPointerException- if any required attribute was not provided
-