Class EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.emr.events.EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps>
- Enclosing interface:
EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps
@Stability(Experimental)
public static final class EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder
extends Object
implements software.amazon.jsii.Builder<EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps>
-
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) requestedInstanceCount(List<String> requestedInstanceCount) runningInstanceCount(List<String> runningInstanceCount)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bidPrice
@Stability(Experimental) public EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder bidPrice(List<String> bidPrice) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.getBidPrice()- 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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder bidPriceAsPercentageOfOnDemandPrice(List<String> bidPriceAsPercentageOfOnDemandPrice) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder clusterId(List<String> clusterId) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
instanceGroupId
@Stability(Experimental) public EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder instanceGroupId(List<String> instanceGroupId) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.getInstanceGroupId()- 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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder instanceGroupType(List<String> instanceGroupType) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder instanceType(List<String> instanceType) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.getInstanceType()- 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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder market(List<String> market) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder message(List<String> message) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.getMessage()- 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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder requestedInstanceCount(List<String> requestedInstanceCount) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder runningInstanceCount(List<String> runningInstanceCount) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder severity(List<String> severity) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.Builder state(List<String> state) Sets the value ofEMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps.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 EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps>- Returns:
- a new instance of
EMRInstanceGroupStatusNotification.EMRInstanceGroupStatusNotificationProps - Throws:
NullPointerException- if any required attribute was not provided
-