Class CreateOptionGroupRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Specifies the name of the engine that this option group should be associated with.Specifies the major version of the engine that this option group should be associated with.The description of the option group.Specifies the name of the option group to be created.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) toString()
Returns a string representation of this object; useful for testing and debugging.withEngineName
(String engineName) Specifies the name of the engine that this option group should be associated with.withMajorEngineVersion
(String majorEngineVersion) Specifies the major version of the engine that this option group should be associated with.withOptionGroupDescription
(String optionGroupDescription) The description of the option group.withOptionGroupName
(String optionGroupName) Specifies the name of the option group to be created.NOTE: This method appends the values to the existing list (if any).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
-
Constructor Details
-
CreateOptionGroupRequest
public CreateOptionGroupRequest()
-
-
Method Details
-
setOptionGroupName
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
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
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
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
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
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
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
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
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
The description of the option group.
- Parameters:
optionGroupDescription
- The description of the option group.
-
getOptionGroupDescription
The description of the option group.
- Returns:
- The description of the option group.
-
withOptionGroupDescription
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.
-
getTags
- Returns:
-
setTags
- Parameters:
tags
-
-
withTags
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
- Parameters:
tags
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-