Class CodeGuruProfilerRecommendationStateChange.Recommendation.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codeguruprofiler.events.CodeGuruProfilerRecommendationStateChange.Recommendation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeGuruProfilerRecommendationStateChange.Recommendation>
- Enclosing interface:
CodeGuruProfilerRecommendationStateChange.Recommendation
@Stability(Experimental)
public static final class CodeGuruProfilerRecommendationStateChange.Recommendation.Builder
extends Object
implements software.amazon.jsii.Builder<CodeGuruProfilerRecommendationStateChange.Recommendation>
A builder for
CodeGuruProfilerRecommendationStateChange.Recommendation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCodeGuruProfilerRecommendationStateChange.Recommendation.getName()Sets the value ofCodeGuruProfilerRecommendationStateChange.Recommendation.getReason()resolutionSteps(CodeGuruProfilerRecommendationStateChange.ResolutionSteps resolutionSteps)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.Recommendation.Builder description(CodeGuruProfilerRecommendationStateChange.Description description) - Parameters:
description- description property. Specify an array of string values to match this event if the actual value of description is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
name
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.Recommendation.Builder name(CodeGuruProfilerRecommendationStateChange.Name name) Sets the value ofCodeGuruProfilerRecommendationStateChange.Recommendation.getName()- Parameters:
name- name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
reason
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.Recommendation.Builder reason(CodeGuruProfilerRecommendationStateChange.Reason reason) Sets the value ofCodeGuruProfilerRecommendationStateChange.Recommendation.getReason()- Parameters:
reason- reason property. Specify an array of string values to match this event if the actual value of reason is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resolutionSteps
@Stability(Experimental) public CodeGuruProfilerRecommendationStateChange.Recommendation.Builder resolutionSteps(CodeGuruProfilerRecommendationStateChange.ResolutionSteps resolutionSteps) - Parameters:
resolutionSteps- resolutionSteps property. Specify an array of string values to match this event if the actual value of resolutionSteps 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<CodeGuruProfilerRecommendationStateChange.Recommendation>- Returns:
- a new instance of
CodeGuruProfilerRecommendationStateChange.Recommendation - Throws:
NullPointerException- if any required attribute was not provided
-