Class CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codeguruprofiler.events.CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps>
- Enclosing interface:
CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps
@Stability(Experimental)
public static final class CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computeInstanceArns(List<String> computeInstanceArns) deduplicationId(List<String> deduplicationId) eventEndTime(List<String> eventEndTime) eventMetadata(AWSEventMetadataProps eventMetadata) eventStartTime(List<String> eventStartTime)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeInstanceArns
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder computeInstanceArns(List<String> computeInstanceArns) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getComputeInstanceArns()- Parameters:
computeInstanceArns- computeInstanceArns property. Specify an array of string values to match this event if the actual value of computeInstanceArns is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
deduplicationId
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder deduplicationId(List<String> deduplicationId) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getDeduplicationId()- Parameters:
deduplicationId- deduplicationId property. Specify an array of string values to match this event if the actual value of deduplicationId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventEndTime
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder eventEndTime(List<String> eventEndTime) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getEventEndTime()- Parameters:
eventEndTime- eventEndTime property. Specify an array of string values to match this event if the actual value of eventEndTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventStartTime
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder eventStartTime(List<String> eventStartTime) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getEventStartTime()- Parameters:
eventStartTime- eventStartTime property. Specify an array of string values to match this event if the actual value of eventStartTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
expiresOn
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder expiresOn(List<String> expiresOn) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getExpiresOn()- Parameters:
expiresOn- expiresOn property. Specify an array of string values to match this event if the actual value of expiresOn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
recommendation
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder recommendation(CodeGuruProfilerRecommendationStateChange.Recommendation recommendation) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getRecommendation()- Parameters:
recommendation- recommendation property. Specify an array of string values to match this event if the actual value of recommendation is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
schema
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder schema(List<String> schema) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getSchema()- Parameters:
schema- schema property. Specify an array of string values to match this event if the actual value of schema is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
severity
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder severity(List<String> severity) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getSeverity()- Parameters:
severity- severity property. Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceUrl
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder sourceUrl(List<String> sourceUrl) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getSourceUrl()- Parameters:
sourceUrl- sourceUrl property. Specify an array of string values to match this event if the actual value of sourceUrl is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
status
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder status(List<String> status) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getStatus()- Parameters:
status- status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
title
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.Builder title(CodeGuruProfilerRecommendationStateChange.Title title) Sets the value ofCodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps.getTitle()- Parameters:
title- title property. Specify an array of string values to match this event if the actual value of title 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 CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps>- Returns:
- a new instance of
CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-