Class OptionGroup

    • Constructor Detail

      • OptionGroup

        public OptionGroup()
    • Method Detail

      • setOptionGroupName

        public void setOptionGroupName​(String optionGroupName)

        Specifies the name of the option group.

        Parameters:
        optionGroupName - Specifies the name of the option group.
      • getOptionGroupName

        public String getOptionGroupName()

        Specifies the name of the option group.

        Returns:
        Specifies the name of the option group.
      • withOptionGroupName

        public OptionGroup withOptionGroupName​(String optionGroupName)

        Specifies the name of the option group.

        Parameters:
        optionGroupName - Specifies the name of the option group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOptionGroupDescription

        public void setOptionGroupDescription​(String optionGroupDescription)

        Provides a description of the option group.

        Parameters:
        optionGroupDescription - Provides a description of the option group.
      • getOptionGroupDescription

        public String getOptionGroupDescription()

        Provides a description of the option group.

        Returns:
        Provides a description of the option group.
      • withOptionGroupDescription

        public OptionGroup withOptionGroupDescription​(String optionGroupDescription)

        Provides a description of the option group.

        Parameters:
        optionGroupDescription - Provides a description of the option group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEngineName

        public void setEngineName​(String engineName)

        Indicates the name of the engine that this option group can be applied to.

        Parameters:
        engineName - Indicates the name of the engine that this option group can be applied to.
      • getEngineName

        public String getEngineName()

        Indicates the name of the engine that this option group can be applied to.

        Returns:
        Indicates the name of the engine that this option group can be applied to.
      • withEngineName

        public OptionGroup withEngineName​(String engineName)

        Indicates the name of the engine that this option group can be applied to.

        Parameters:
        engineName - Indicates the name of the engine that this option group can be applied to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMajorEngineVersion

        public void setMajorEngineVersion​(String majorEngineVersion)

        Indicates the major engine version associated with this option group.

        Parameters:
        majorEngineVersion - Indicates the major engine version associated with this option group.
      • getMajorEngineVersion

        public String getMajorEngineVersion()

        Indicates the major engine version associated with this option group.

        Returns:
        Indicates the major engine version associated with this option group.
      • withMajorEngineVersion

        public OptionGroup withMajorEngineVersion​(String majorEngineVersion)

        Indicates the major engine version associated with this option group.

        Parameters:
        majorEngineVersion - Indicates the major engine version associated with this option group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getOptions

        public List<Option> getOptions()

        Indicates what options are available in the option group.

        Returns:
        Indicates what options are available in the option group.
      • setOptions

        public void setOptions​(Collection<Option> options)

        Indicates what options are available in the option group.

        Parameters:
        options - Indicates what options are available in the option group.
      • withOptions

        public OptionGroup withOptions​(Option... options)

        Indicates what options are available in the option group.

        NOTE: This method appends the values to the existing list (if any). Use setOptions(java.util.Collection) or withOptions(java.util.Collection) if you want to override the existing values.

        Parameters:
        options - Indicates what options are available in the option group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withOptions

        public OptionGroup withOptions​(Collection<Option> options)

        Indicates what options are available in the option group.

        Parameters:
        options - Indicates what options are available in the option group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAllowsVpcAndNonVpcInstanceMemberships

        public void setAllowsVpcAndNonVpcInstanceMemberships​(Boolean allowsVpcAndNonVpcInstanceMemberships)

        Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.

        Parameters:
        allowsVpcAndNonVpcInstanceMemberships - Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.
      • getAllowsVpcAndNonVpcInstanceMemberships

        public Boolean getAllowsVpcAndNonVpcInstanceMemberships()

        Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.

        Returns:
        Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.
      • withAllowsVpcAndNonVpcInstanceMemberships

        public OptionGroup withAllowsVpcAndNonVpcInstanceMemberships​(Boolean allowsVpcAndNonVpcInstanceMemberships)

        Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.

        Parameters:
        allowsVpcAndNonVpcInstanceMemberships - Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isAllowsVpcAndNonVpcInstanceMemberships

        public Boolean isAllowsVpcAndNonVpcInstanceMemberships()

        Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.

        Returns:
        Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.
      • setVpcId

        public void setVpcId​(String vpcId)

        If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.

        Parameters:
        vpcId - If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.
      • getVpcId

        public String getVpcId()

        If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.

        Returns:
        If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.
      • withVpcId

        public OptionGroup withVpcId​(String vpcId)

        If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.

        Parameters:
        vpcId - If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object