public class CreateOptionGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateOptionGroup operation
.
Creates a new option group. You can create up to 20 option groups.
NOOP
Constructor and Description |
---|
CreateOptionGroupRequest() |
Modifier and Type | Method and 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()
A list of tags.
|
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)
A list of 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(Collection<Tag> tags)
A list of tags.
|
CreateOptionGroupRequest |
withTags(Tag... tags)
A list of tags.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getOptionGroupName()
Constraints:
Example:
myoptiongroup
Constraints:
Example:
myoptiongroup
public void setOptionGroupName(String optionGroupName)
Constraints:
Example:
myoptiongroup
optionGroupName
- Specifies the name of the option group to be created. Constraints:
Example:
myoptiongroup
public CreateOptionGroupRequest withOptionGroupName(String optionGroupName)
Constraints:
Example:
myoptiongroup
Returns a reference to this object so that method calls can be chained together.
optionGroupName
- Specifies the name of the option group to be created. Constraints:
Example:
myoptiongroup
public String getEngineName()
public void setEngineName(String engineName)
engineName
- Specifies the name of the engine that this option group should be
associated with.public CreateOptionGroupRequest withEngineName(String engineName)
Returns a reference to this object so that method calls can be chained together.
engineName
- Specifies the name of the engine that this option group should be
associated with.public String getMajorEngineVersion()
public void setMajorEngineVersion(String majorEngineVersion)
majorEngineVersion
- Specifies the major version of the engine that this option group
should be associated with.public CreateOptionGroupRequest withMajorEngineVersion(String majorEngineVersion)
Returns a reference to this object so that method calls can be chained together.
majorEngineVersion
- Specifies the major version of the engine that this option group
should be associated with.public String getOptionGroupDescription()
public void setOptionGroupDescription(String optionGroupDescription)
optionGroupDescription
- The description of the option group.public CreateOptionGroupRequest withOptionGroupDescription(String optionGroupDescription)
Returns a reference to this object so that method calls can be chained together.
optionGroupDescription
- The description of the option group.public void setTags(Collection<Tag> tags)
tags
- A list of tags.public CreateOptionGroupRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public CreateOptionGroupRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public String toString()
toString
in class Object
Object.toString()
public CreateOptionGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.