Class EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.emr.events.EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps>
- Enclosing interface:
EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps
@Stability(Experimental)
public static final class EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) resourceId(List<String> resourceId) scalingResourceType(List<String> scalingResourceType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterId
@Stability(Experimental) public EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder clusterId(List<String> clusterId) Sets the value ofEMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.getClusterId()- Parameters:
clusterId- clusterId property. Specify an array of string values to match this event if the actual value of clusterId 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 EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofEMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
message
@Stability(Experimental) public EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder message(List<String> message) - Parameters:
message- message property. Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceId
@Stability(Experimental) public EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder resourceId(List<String> resourceId) Sets the value ofEMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.getResourceId()- Parameters:
resourceId- resourceId property. Specify an array of string values to match this event if the actual value of resourceId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
scalingResourceType
@Stability(Experimental) public EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder scalingResourceType(List<String> scalingResourceType) Sets the value ofEMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.getScalingResourceType()- Parameters:
scalingResourceType- scalingResourceType property. Specify an array of string values to match this event if the actual value of scalingResourceType 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 EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder severity(List<String> severity) Sets the value ofEMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.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
-
state
@Stability(Experimental) public EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps.Builder state(List<String> state) - Parameters:
state- state property. Specify an array of string values to match this event if the actual value of state 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 EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps>- Returns:
- a new instance of
EMRAutoScalingPolicyStateChange.EMRAutoScalingPolicyStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-