Class CreateOptionGroupRequest

    • Constructor Detail

      • CreateOptionGroupRequest

        public CreateOptionGroupRequest()
    • Method Detail

      • setOptionGroupName

        public void setOptionGroupName​(String optionGroupName)

        Specifies the name of the option group to be created.

        Constraints:

        • Must be 1 to 255 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens

        Example: myoptiongroup

        Parameters:
        optionGroupName - Specifies the name of the option group to be created.

        Constraints:

        • Must be 1 to 255 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens

        Example: myoptiongroup

      • getOptionGroupName

        public String getOptionGroupName()

        Specifies the name of the option group to be created.

        Constraints:

        • Must be 1 to 255 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens

        Example: myoptiongroup

        Returns:
        Specifies the name of the option group to be created.

        Constraints:

        • Must be 1 to 255 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens

        Example: myoptiongroup

      • withOptionGroupName

        public CreateOptionGroupRequest withOptionGroupName​(String optionGroupName)

        Specifies the name of the option group to be created.

        Constraints:

        • Must be 1 to 255 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens

        Example: myoptiongroup

        Parameters:
        optionGroupName - Specifies the name of the option group to be created.

        Constraints:

        • Must be 1 to 255 alphanumeric characters or hyphens
        • First character must be a letter
        • Cannot end with a hyphen or contain two consecutive hyphens

        Example: myoptiongroup

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEngineName

        public void setEngineName​(String engineName)

        Specifies the name of the engine that this option group should be associated with.

        Parameters:
        engineName - Specifies the name of the engine that this option group should be associated with.
      • getEngineName

        public String getEngineName()

        Specifies the name of the engine that this option group should be associated with.

        Returns:
        Specifies the name of the engine that this option group should be associated with.
      • withEngineName

        public CreateOptionGroupRequest withEngineName​(String engineName)

        Specifies the name of the engine that this option group should be associated with.

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

        public void setMajorEngineVersion​(String majorEngineVersion)

        Specifies the major version of the engine that this option group should be associated with.

        Parameters:
        majorEngineVersion - Specifies the major version of the engine that this option group should be associated with.
      • getMajorEngineVersion

        public String getMajorEngineVersion()

        Specifies the major version of the engine that this option group should be associated with.

        Returns:
        Specifies the major version of the engine that this option group should be associated with.
      • withMajorEngineVersion

        public CreateOptionGroupRequest withMajorEngineVersion​(String majorEngineVersion)

        Specifies the major version of the engine that this option group should be associated with.

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

        public void setOptionGroupDescription​(String optionGroupDescription)

        The description of the option group.

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

        public String getOptionGroupDescription()

        The description of the option group.

        Returns:
        The description of the option group.
      • withOptionGroupDescription

        public CreateOptionGroupRequest withOptionGroupDescription​(String optionGroupDescription)

        The description of the option group.

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

        public List<Tag> getTags()
        Returns:
      • setTags

        public void setTags​(Collection<Tag> tags)
        Parameters:
        tags -
      • withTags

        public CreateOptionGroupRequest withTags​(Collection<Tag> tags)
        Parameters:
        tags -
        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