Interface CreateOptionGroupRequest.Builder

  • Method Details

    • optionGroupName

      CreateOptionGroupRequest.Builder optionGroupName(String optionGroupName)

      Specifies the name of the option group to be created.

      Constraints:

      • Must be 1 to 255 letters, numbers, or hyphens

      • First character must be a letter

      • Can't 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 letters, numbers, or hyphens

      • First character must be a letter

      • Can't 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.
    • engineName

      CreateOptionGroupRequest.Builder engineName(String engineName)

      The name of the engine to associate this option group with.

      Valid Values:

      • db2-ae

      • db2-se

      • mariadb

      • mysql

      • oracle-ee

      • oracle-ee-cdb

      • oracle-se2

      • oracle-se2-cdb

      • postgres

      • sqlserver-ee

      • sqlserver-se

      • sqlserver-ex

      • sqlserver-web

      Parameters:
      engineName - The name of the engine to associate this option group with.

      Valid Values:

      • db2-ae

      • db2-se

      • mariadb

      • mysql

      • oracle-ee

      • oracle-ee-cdb

      • oracle-se2

      • oracle-se2-cdb

      • postgres

      • sqlserver-ee

      • sqlserver-se

      • sqlserver-ex

      • sqlserver-web

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

      CreateOptionGroupRequest.Builder majorEngineVersion(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.
    • optionGroupDescription

      CreateOptionGroupRequest.Builder optionGroupDescription(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.
    • tags

      Tags to assign to the option group.

      Parameters:
      tags - Tags to assign to the option group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to assign to the option group.

      Parameters:
      tags - Tags to assign to the option group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to assign to the option group.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateOptionGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.