Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class CreateOptionGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.CreateOptionGroupRequest
All Implemented Interfaces:
Serializable

public class CreateOptionGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CreateOptionGroup operation.

Creates a new Option Group. You can create up to 20 option groups.

See Also:
AmazonRDS.createOptionGroup(CreateOptionGroupRequest), Serialized Form

Constructor Summary
CreateOptionGroupRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getEngineName()
          Specifies the name of the engine that this option group should be associated with.
 String getMajorEngineVersion()
          Specifies the major version of the engine that this option group should be associated with.
 String getOptionGroupDescription()
          The description of the option group.
 String getOptionGroupName()
          Specifies the name of the option group to be created.
 int hashCode()
           
 void setEngineName(String engineName)
          Specifies the name of the engine that this option group should be associated with.
 void setMajorEngineVersion(String majorEngineVersion)
          Specifies the major version of the engine that this option group should be associated with.
 void setOptionGroupDescription(String optionGroupDescription)
          The description of the option group.
 void setOptionGroupName(String optionGroupName)
          Specifies the name of the option group to be created.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateOptionGroupRequest withEngineName(String engineName)
          Specifies the name of the engine that this option group should be associated with.
 CreateOptionGroupRequest withMajorEngineVersion(String majorEngineVersion)
          Specifies the major version of the engine that this option group should be associated with.
 CreateOptionGroupRequest withOptionGroupDescription(String optionGroupDescription)
          The description of the option group.
 CreateOptionGroupRequest withOptionGroupName(String optionGroupName)
          Specifies the name of the option group to be created.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateOptionGroupRequest

public CreateOptionGroupRequest()
Method Detail

getOptionGroupName

public String getOptionGroupName()
Specifies the name of the option group to be created.

Constraints:

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


setOptionGroupName

public void setOptionGroupName(String optionGroupName)
Specifies the name of the option group to be created.

Constraints:

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


withOptionGroupName

public CreateOptionGroupRequest withOptionGroupName(String optionGroupName)
Specifies the name of the option group to be created.

Constraints:

Example: myOptiongroup

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

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:
A reference to this updated object so that method calls can be chained together.

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.

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.

withEngineName

public CreateOptionGroupRequest withEngineName(String engineName)
Specifies the name of the engine that this option group should be associated with.

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

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

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.

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.

withMajorEngineVersion

public CreateOptionGroupRequest withMajorEngineVersion(String majorEngineVersion)
Specifies the major version of the engine that this option group should be associated with.

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

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

getOptionGroupDescription

public String getOptionGroupDescription()
The description of the option group.

Returns:
The description of the option group.

setOptionGroupDescription

public void setOptionGroupDescription(String optionGroupDescription)
The description of the option group.

Parameters:
optionGroupDescription - The description of the option group.

withOptionGroupDescription

public CreateOptionGroupRequest withOptionGroupDescription(String optionGroupDescription)
The description of the option group.

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

Parameters:
optionGroupDescription - The description of the option group.
Returns:
A reference to this updated 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

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.