Interface OptionGroup.Builder

    • Method Detail

      • optionGroupName

        OptionGroup.Builder optionGroupName​(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.
      • optionGroupDescription

        OptionGroup.Builder optionGroupDescription​(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.
      • engineName

        OptionGroup.Builder engineName​(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.
      • majorEngineVersion

        OptionGroup.Builder majorEngineVersion​(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.
      • options

        OptionGroup.Builder options​(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.
      • options

        OptionGroup.Builder options​(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.
      • options

        OptionGroup.Builder options​(Consumer<Option.Builder>... options)

        Indicates what options are available in the option group.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #options(List.

        Parameters:
        options - a consumer that will call methods on Option.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #options(java.util.Collection
      • allowsVpcAndNonVpcInstanceMemberships

        OptionGroup.Builder allowsVpcAndNonVpcInstanceMemberships​(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.
      • vpcId

        OptionGroup.Builder vpcId​(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.
      • optionGroupArn

        OptionGroup.Builder optionGroupArn​(String optionGroupArn)

        Specifies the Amazon Resource Name (ARN) for the option group.

        Parameters:
        optionGroupArn - Specifies the Amazon Resource Name (ARN) for the option group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceOptionGroup

        OptionGroup.Builder sourceOptionGroup​(String sourceOptionGroup)

        Specifies the name of the option group from which this option group is copied.

        Parameters:
        sourceOptionGroup - Specifies the name of the option group from which this option group is copied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceAccountId

        OptionGroup.Builder sourceAccountId​(String sourceAccountId)

        Specifies the Amazon Web Services account ID for the option group from which this option group is copied.

        Parameters:
        sourceAccountId - Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • copyTimestamp

        OptionGroup.Builder copyTimestamp​(Instant copyTimestamp)

        Indicates when the option group was copied.

        Parameters:
        copyTimestamp - Indicates when the option group was copied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.