/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.rds.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Option group option settings are used to display settings available for each option with their default values and * other information. These values are used with the DescribeOptionGroupOptions action. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class OptionGroupOptionSetting implements Serializable, Cloneable { /** ** The name of the option group option. *
*/ private String settingName; /** ** The description of the option group option. *
*/ private String settingDescription; /** ** The default value for the option group option. *
*/ private String defaultValue; /** ** The DB engine specific parameter type for the option group option. *
*/ private String applyType; /** ** Indicates the acceptable values for the option group option. *
*/ private String allowedValues; /** ** Boolean value where true indicates that this option group option can be changed from the default value. *
*/ private Boolean isModifiable; /** ** Boolean value where true indicates that a value must be specified for this option setting of the option group * option. *
*/ private Boolean isRequired; /** ** The minimum DB engine version required for the corresponding allowed value for this option setting. *
*/ private com.amazonaws.internal.SdkInternalList* The name of the option group option. *
* * @param settingName * The name of the option group option. */ public void setSettingName(String settingName) { this.settingName = settingName; } /** ** The name of the option group option. *
* * @return The name of the option group option. */ public String getSettingName() { return this.settingName; } /** ** The name of the option group option. *
* * @param settingName * The name of the option group option. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionGroupOptionSetting withSettingName(String settingName) { setSettingName(settingName); return this; } /** ** The description of the option group option. *
* * @param settingDescription * The description of the option group option. */ public void setSettingDescription(String settingDescription) { this.settingDescription = settingDescription; } /** ** The description of the option group option. *
* * @return The description of the option group option. */ public String getSettingDescription() { return this.settingDescription; } /** ** The description of the option group option. *
* * @param settingDescription * The description of the option group option. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionGroupOptionSetting withSettingDescription(String settingDescription) { setSettingDescription(settingDescription); return this; } /** ** The default value for the option group option. *
* * @param defaultValue * The default value for the option group option. */ public void setDefaultValue(String defaultValue) { this.defaultValue = defaultValue; } /** ** The default value for the option group option. *
* * @return The default value for the option group option. */ public String getDefaultValue() { return this.defaultValue; } /** ** The default value for the option group option. *
* * @param defaultValue * The default value for the option group option. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionGroupOptionSetting withDefaultValue(String defaultValue) { setDefaultValue(defaultValue); return this; } /** ** The DB engine specific parameter type for the option group option. *
* * @param applyType * The DB engine specific parameter type for the option group option. */ public void setApplyType(String applyType) { this.applyType = applyType; } /** ** The DB engine specific parameter type for the option group option. *
* * @return The DB engine specific parameter type for the option group option. */ public String getApplyType() { return this.applyType; } /** ** The DB engine specific parameter type for the option group option. *
* * @param applyType * The DB engine specific parameter type for the option group option. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionGroupOptionSetting withApplyType(String applyType) { setApplyType(applyType); return this; } /** ** Indicates the acceptable values for the option group option. *
* * @param allowedValues * Indicates the acceptable values for the option group option. */ public void setAllowedValues(String allowedValues) { this.allowedValues = allowedValues; } /** ** Indicates the acceptable values for the option group option. *
* * @return Indicates the acceptable values for the option group option. */ public String getAllowedValues() { return this.allowedValues; } /** ** Indicates the acceptable values for the option group option. *
* * @param allowedValues * Indicates the acceptable values for the option group option. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionGroupOptionSetting withAllowedValues(String allowedValues) { setAllowedValues(allowedValues); return this; } /** ** Boolean value where true indicates that this option group option can be changed from the default value. *
* * @param isModifiable * Boolean value where true indicates that this option group option can be changed from the default value. */ public void setIsModifiable(Boolean isModifiable) { this.isModifiable = isModifiable; } /** ** Boolean value where true indicates that this option group option can be changed from the default value. *
* * @return Boolean value where true indicates that this option group option can be changed from the default value. */ public Boolean getIsModifiable() { return this.isModifiable; } /** ** Boolean value where true indicates that this option group option can be changed from the default value. *
* * @param isModifiable * Boolean value where true indicates that this option group option can be changed from the default value. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionGroupOptionSetting withIsModifiable(Boolean isModifiable) { setIsModifiable(isModifiable); return this; } /** ** Boolean value where true indicates that this option group option can be changed from the default value. *
* * @return Boolean value where true indicates that this option group option can be changed from the default value. */ public Boolean isModifiable() { return this.isModifiable; } /** ** Boolean value where true indicates that a value must be specified for this option setting of the option group * option. *
* * @param isRequired * Boolean value where true indicates that a value must be specified for this option setting of the option * group option. */ public void setIsRequired(Boolean isRequired) { this.isRequired = isRequired; } /** ** Boolean value where true indicates that a value must be specified for this option setting of the option group * option. *
* * @return Boolean value where true indicates that a value must be specified for this option setting of the option * group option. */ public Boolean getIsRequired() { return this.isRequired; } /** ** Boolean value where true indicates that a value must be specified for this option setting of the option group * option. *
* * @param isRequired * Boolean value where true indicates that a value must be specified for this option setting of the option * group option. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionGroupOptionSetting withIsRequired(Boolean isRequired) { setIsRequired(isRequired); return this; } /** ** Boolean value where true indicates that a value must be specified for this option setting of the option group * option. *
* * @return Boolean value where true indicates that a value must be specified for this option setting of the option * group option. */ public Boolean isRequired() { return this.isRequired; } /** ** The minimum DB engine version required for the corresponding allowed value for this option setting. *
* * @return The minimum DB engine version required for the corresponding allowed value for this option setting. */ public java.util.List* The minimum DB engine version required for the corresponding allowed value for this option setting. *
* * @param minimumEngineVersionPerAllowedValue * The minimum DB engine version required for the corresponding allowed value for this option setting. */ public void setMinimumEngineVersionPerAllowedValue(java.util.Collection* The minimum DB engine version required for the corresponding allowed value for this option setting. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setMinimumEngineVersionPerAllowedValue(java.util.Collection)} or * {@link #withMinimumEngineVersionPerAllowedValue(java.util.Collection)} if you want to override the existing * values. *
* * @param minimumEngineVersionPerAllowedValue * The minimum DB engine version required for the corresponding allowed value for this option setting. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionGroupOptionSetting withMinimumEngineVersionPerAllowedValue(MinimumEngineVersionPerAllowedValue... minimumEngineVersionPerAllowedValue) { if (this.minimumEngineVersionPerAllowedValue == null) { setMinimumEngineVersionPerAllowedValue(new com.amazonaws.internal.SdkInternalList* The minimum DB engine version required for the corresponding allowed value for this option setting. *
* * @param minimumEngineVersionPerAllowedValue * The minimum DB engine version required for the corresponding allowed value for this option setting. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionGroupOptionSetting withMinimumEngineVersionPerAllowedValue( java.util.Collection