Class EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.emr.events.EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps>
- Enclosing interface:
EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps
@Stability(Experimental)
public static final class EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbidPriceAsPercentageOfOnDemandPrice(List<String> bidPriceAsPercentageOfOnDemandPrice) build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) instanceGroupId(List<String> instanceGroupId) instanceGroupType(List<String> instanceGroupType) instanceType(List<String> instanceType) Sets the value ofEMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.getMarket()requestedInstanceCount(List<String> requestedInstanceCount) runningInstanceCount(List<String> runningInstanceCount) Sets the value ofEMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bidPrice
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder bidPrice(List<String> bidPrice) - Parameters:
bidPrice- bidPrice property. Specify an array of string values to match this event if the actual value of bidPrice is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
bidPriceAsPercentageOfOnDemandPrice
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder bidPriceAsPercentageOfOnDemandPrice(List<String> bidPriceAsPercentageOfOnDemandPrice) Sets the value ofEMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.getBidPriceAsPercentageOfOnDemandPrice()- Parameters:
bidPriceAsPercentageOfOnDemandPrice- bidPriceAsPercentageOfOnDemandPrice property. Specify an array of string values to match this event if the actual value of bidPriceAsPercentageOfOnDemandPrice is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
clusterId
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder clusterId(List<String> clusterId) - 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 EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
instanceGroupId
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder instanceGroupId(List<String> instanceGroupId) - Parameters:
instanceGroupId- instanceGroupId property. Specify an array of string values to match this event if the actual value of instanceGroupId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instanceGroupType
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder instanceGroupType(List<String> instanceGroupType) Sets the value ofEMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.getInstanceGroupType()- Parameters:
instanceGroupType- instanceGroupType property. Specify an array of string values to match this event if the actual value of instanceGroupType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instanceType
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder instanceType(List<String> instanceType) - Parameters:
instanceType- instanceType property. Specify an array of string values to match this event if the actual value of instanceType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
market
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder market(List<String> market) Sets the value ofEMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.getMarket()- Parameters:
market- market property. Specify an array of string values to match this event if the actual value of market is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
message
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.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
-
requestedInstanceCount
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder requestedInstanceCount(List<String> requestedInstanceCount) Sets the value ofEMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.getRequestedInstanceCount()- Parameters:
requestedInstanceCount- requestedInstanceCount property. Specify an array of string values to match this event if the actual value of requestedInstanceCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
runningInstanceCount
@Stability(Experimental) public EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder runningInstanceCount(List<String> runningInstanceCount) Sets the value ofEMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.getRunningInstanceCount()- Parameters:
runningInstanceCount- runningInstanceCount property. Specify an array of string values to match this event if the actual value of runningInstanceCount 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 EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder severity(List<String> severity) - 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 EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.Builder state(List<String> state) Sets the value ofEMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps.getState()- 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 EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps>- Returns:
- a new instance of
EMRInstanceGroupStateChange.EMRInstanceGroupStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-