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 CreateOptionGroupRequest
clone()
Creates a shallow clone of this request.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.List<Tag>
getTags()
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.void
setTags(Collection<Tag> tags)
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.CreateOptionGroupRequest
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).CreateOptionGroupRequest
withTags(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-