Class GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps>
- Enclosing interface:
GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps
@Stability(Experimental)
public static final class GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) resourceStatus(List<String> resourceStatus) schemaVersion(List<String> schemaVersion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofGuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventTime
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.Builder eventTime(List<String> eventTime) Sets the value ofGuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.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 GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.Builder resourceStatus(List<String> resourceStatus) Sets the value ofGuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.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 GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.Builder s3BucketDetails(GuardDutyMalwareProtectionResourceStatusActive.S3BucketDetails s3BucketDetails) Sets the value ofGuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.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 GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.Builder schemaVersion(List<String> schemaVersion) Sets the value ofGuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps.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
-
build
@Stability(Experimental) public GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps>- Returns:
- a new instance of
GuardDutyMalwareProtectionResourceStatusActive.GuardDutyMalwareProtectionResourceStatusActiveProps - Throws:
NullPointerException- if any required attribute was not provided
-