public class CreateOptionGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
engineName
Specifies the name of the engine that this option group should be
associated with.
|
private java.lang.String |
majorEngineVersion
Specifies the major version of the engine that this option group should
be associated with.
|
private java.lang.String |
optionGroupDescription
The description of the option group.
|
private java.lang.String |
optionGroupName
Specifies the name of the option group to be created.
|
private SdkInternalList<Tag> |
tags |
NOOP
Constructor and Description |
---|
CreateOptionGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateOptionGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEngineName()
Specifies the name of the engine that this option group should be
associated with.
|
java.lang.String |
getMajorEngineVersion()
Specifies the major version of the engine that this option group should
be associated with.
|
java.lang.String |
getOptionGroupDescription()
The description of the option group.
|
java.lang.String |
getOptionGroupName()
Specifies the name of the option group to be created.
|
java.util.List<Tag> |
getTags() |
int |
hashCode() |
void |
setEngineName(java.lang.String engineName)
Specifies the name of the engine that this option group should be
associated with.
|
void |
setMajorEngineVersion(java.lang.String majorEngineVersion)
Specifies the major version of the engine that this option group should
be associated with.
|
void |
setOptionGroupDescription(java.lang.String optionGroupDescription)
The description of the option group.
|
void |
setOptionGroupName(java.lang.String optionGroupName)
Specifies the name of the option group to be created.
|
void |
setTags(java.util.Collection<Tag> tags) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateOptionGroupRequest |
withEngineName(java.lang.String engineName)
Specifies the name of the engine that this option group should be
associated with.
|
CreateOptionGroupRequest |
withMajorEngineVersion(java.lang.String majorEngineVersion)
Specifies the major version of the engine that this option group should
be associated with.
|
CreateOptionGroupRequest |
withOptionGroupDescription(java.lang.String optionGroupDescription)
The description of the option group.
|
CreateOptionGroupRequest |
withOptionGroupName(java.lang.String optionGroupName)
Specifies the name of the option group to be created.
|
CreateOptionGroupRequest |
withTags(java.util.Collection<Tag> tags) |
CreateOptionGroupRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any).
|
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
private java.lang.String optionGroupName
Specifies the name of the option group to be created.
Constraints:
Example: myoptiongroup
private java.lang.String engineName
Specifies the name of the engine that this option group should be associated with.
private java.lang.String majorEngineVersion
Specifies the major version of the engine that this option group should be associated with.
private java.lang.String optionGroupDescription
The description of the option group.
private SdkInternalList<Tag> tags
public void setOptionGroupName(java.lang.String optionGroupName)
Specifies the name of the option group to be created.
Constraints:
Example: myoptiongroup
optionGroupName
- Specifies the name of the option group to be created.
Constraints:
Example: myoptiongroup
public java.lang.String getOptionGroupName()
Specifies the name of the option group to be created.
Constraints:
Example: myoptiongroup
Constraints:
Example: myoptiongroup
public CreateOptionGroupRequest withOptionGroupName(java.lang.String optionGroupName)
Specifies the name of the option group to be created.
Constraints:
Example: myoptiongroup
optionGroupName
- Specifies the name of the option group to be created.
Constraints:
Example: myoptiongroup
public void setEngineName(java.lang.String engineName)
Specifies the name of the engine that this option group should be associated with.
engineName
- Specifies the name of the engine that this option group should be
associated with.public java.lang.String getEngineName()
Specifies the name of the engine that this option group should be associated with.
public CreateOptionGroupRequest withEngineName(java.lang.String engineName)
Specifies the name of the engine that this option group should be associated with.
engineName
- Specifies the name of the engine that this option group should be
associated with.public void setMajorEngineVersion(java.lang.String majorEngineVersion)
Specifies the major version of the engine that this option group should be associated with.
majorEngineVersion
- Specifies the major version of the engine that this option group
should be associated with.public java.lang.String getMajorEngineVersion()
Specifies the major version of the engine that this option group should be associated with.
public CreateOptionGroupRequest withMajorEngineVersion(java.lang.String majorEngineVersion)
Specifies the major version of the engine that this option group should be associated with.
majorEngineVersion
- Specifies the major version of the engine that this option group
should be associated with.public void setOptionGroupDescription(java.lang.String optionGroupDescription)
The description of the option group.
optionGroupDescription
- The description of the option group.public java.lang.String getOptionGroupDescription()
The description of the option group.
public CreateOptionGroupRequest withOptionGroupDescription(java.lang.String optionGroupDescription)
The description of the option group.
optionGroupDescription
- The description of the option group.public java.util.List<Tag> getTags()
public void setTags(java.util.Collection<Tag> tags)
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.
tags
- public CreateOptionGroupRequest withTags(java.util.Collection<Tag> tags)
tags
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateOptionGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()