/** * <p> * Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other * properties require that any associated clusters be rebooted for the configuration changes to be applied. For more * information about parameters and parameter groups, go to <a * href="http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html">Amazon Redshift * Parameter Groups</a> in the <i>Amazon Redshift Cluster Management Guide</i>. * </p> * * @param applyType * Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while * other properties require that any associated clusters be rebooted for the configuration changes to be * applied. For more information about parameters and parameter groups, go to <a * href="http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html">Amazon Redshift * Parameter Groups</a> in the <i>Amazon Redshift Cluster Management Guide</i>. * @return Returns a reference to this object so that method calls can be chained together. * @see ParameterApplyType */ public Parameter withApplyType(ParameterApplyType applyType) { this.applyType = applyType.toString(); return this; }
/** * Use this in place of valueOf. * * @param value * real value * @return ParameterApplyType corresponding to the value * * @throws IllegalArgumentException * If the specified value does not map to one of the known values in this enum. */ public static ParameterApplyType fromValue(String value) { if (value == null || "".equals(value)) { throw new IllegalArgumentException("Value cannot be null or empty!"); } for (ParameterApplyType enumEntry : ParameterApplyType.values()) { if (enumEntry.toString().equals(value)) { return enumEntry; } } throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); } }
/** * <p> * Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other * properties require that any associated clusters be rebooted for the configuration changes to be applied. For more * information about parameters and parameter groups, go to <a * href="http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html">Amazon Redshift * Parameter Groups</a> in the <i>Amazon Redshift Cluster Management Guide</i>. * </p> * * @param applyType * Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while * other properties require that any associated clusters be rebooted for the configuration changes to be * applied. For more information about parameters and parameter groups, go to <a * href="http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html">Amazon Redshift * Parameter Groups</a> in the <i>Amazon Redshift Cluster Management Guide</i>. * @return Returns a reference to this object so that method calls can be chained together. * @see ParameterApplyType */ public Parameter withApplyType(ParameterApplyType applyType) { this.applyType = applyType.toString(); return this; }
/** * Use this in place of valueOf. * * @param value * real value * @return ParameterApplyType corresponding to the value * * @throws IllegalArgumentException * If the specified value does not map to one of the known values in this enum. */ public static ParameterApplyType fromValue(String value) { if (value == null || "".equals(value)) { throw new IllegalArgumentException("Value cannot be null or empty!"); } for (ParameterApplyType enumEntry : ParameterApplyType.values()) { if (enumEntry.toString().equals(value)) { return enumEntry; } } throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); } }