Class CreateOptionGroupRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.CreateOptionGroupRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class CreateOptionGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • CreateOptionGroupRequest

      public CreateOptionGroupRequest()
  • Method Details

    • 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(Tag... tags)

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

      Parameters:
      tags -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateOptionGroupRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: