Enum DataflowPipelineOptions.FlexResourceSchedulingGoal
- java.lang.Object
-
- java.lang.Enum<DataflowPipelineOptions.FlexResourceSchedulingGoal>
-
- org.apache.beam.runners.dataflow.options.DataflowPipelineOptions.FlexResourceSchedulingGoal
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataflowPipelineOptions.FlexResourceSchedulingGoal>
- Enclosing interface:
- DataflowPipelineOptions
public static enum DataflowPipelineOptions.FlexResourceSchedulingGoal extends java.lang.Enum<DataflowPipelineOptions.FlexResourceSchedulingGoal>
Set of available Flexible Resource Scheduling goals.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COST_OPTIMIZEDOptimize for lower cost.SPEED_OPTIMIZEDOptimize for lower execution time.UNSPECIFIEDNo goal specified.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataflowPipelineOptions.FlexResourceSchedulingGoalvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataflowPipelineOptions.FlexResourceSchedulingGoal[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final DataflowPipelineOptions.FlexResourceSchedulingGoal UNSPECIFIED
No goal specified.
-
SPEED_OPTIMIZED
public static final DataflowPipelineOptions.FlexResourceSchedulingGoal SPEED_OPTIMIZED
Optimize for lower execution time.
-
COST_OPTIMIZED
public static final DataflowPipelineOptions.FlexResourceSchedulingGoal COST_OPTIMIZED
Optimize for lower cost.
-
-
Method Detail
-
values
public static DataflowPipelineOptions.FlexResourceSchedulingGoal[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataflowPipelineOptions.FlexResourceSchedulingGoal c : DataflowPipelineOptions.FlexResourceSchedulingGoal.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataflowPipelineOptions.FlexResourceSchedulingGoal valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-