@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOptionGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateOptionGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateOptionGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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(Collection<Tag> tags) |
CreateOptionGroupRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setOptionGroupName(String optionGroupName)
Specifies the name of the option group to be created.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
optionGroupName
- Specifies the name of the option group to be created.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
public String getOptionGroupName()
Specifies the name of the option group to be created.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
Constraints:
Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
public CreateOptionGroupRequest withOptionGroupName(String optionGroupName)
Specifies the name of the option group to be created.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
optionGroupName
- Specifies the name of the option group to be created.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
public void setEngineName(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 String getEngineName()
Specifies the name of the engine that this option group should be associated with.
public CreateOptionGroupRequest withEngineName(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(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 String getMajorEngineVersion()
Specifies the major version of the engine that this option group should be associated with.
public CreateOptionGroupRequest withMajorEngineVersion(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(String optionGroupDescription)
The description of the option group.
optionGroupDescription
- The description of the option group.public String getOptionGroupDescription()
The description of the option group.
public CreateOptionGroupRequest withOptionGroupDescription(String optionGroupDescription)
The description of the option group.
optionGroupDescription
- The description of the option group.public void setTags(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(Collection<Tag> tags)
tags
- public String toString()
toString
in class Object
Object.toString()
public CreateOptionGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.