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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateOptionGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOptionGroupRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetEngineName()Specifies the name of the engine that this option group should be associated with.StringgetMajorEngineVersion()Specifies the major version of the engine that this option group should be associated with.StringgetOptionGroupDescription()The description of the option group.StringgetOptionGroupName()Specifies the name of the option group to be created.List<Tag>getTags()inthashCode()voidsetEngineName(String engineName)Specifies the name of the engine that this option group should be associated with.voidsetMajorEngineVersion(String majorEngineVersion)Specifies the major version of the engine that this option group should be associated with.voidsetOptionGroupDescription(String optionGroupDescription)The description of the option group.voidsetOptionGroupName(String optionGroupName)Specifies the name of the option group to be created.voidsetTags(Collection<Tag> tags)StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateOptionGroupRequestwithEngineName(String engineName)Specifies the name of the engine that this option group should be associated with.CreateOptionGroupRequestwithMajorEngineVersion(String majorEngineVersion)Specifies the major version of the engine that this option group should be associated with.CreateOptionGroupRequestwithOptionGroupDescription(String optionGroupDescription)The description of the option group.CreateOptionGroupRequestwithOptionGroupName(String optionGroupName)Specifies the name of the option group to be created.CreateOptionGroupRequestwithTags(Tag... tags)NOTE: This method appends the values to the existing list (if any).CreateOptionGroupRequestwithTags(Collection<Tag> tags)-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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.
-
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)orwithTags(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateOptionGroupRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-