@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDBSecurityGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDBSecurityGroupRequest()
Default constructor for CreateDBSecurityGroupRequest object.
|
CreateDBSecurityGroupRequest(String dBSecurityGroupName,
String dBSecurityGroupDescription)
Constructs a new CreateDBSecurityGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateDBSecurityGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDBSecurityGroupDescription()
The description for the DB security group.
|
String |
getDBSecurityGroupName()
The name for the DB security group.
|
List<Tag> |
getTags() |
int |
hashCode() |
void |
setDBSecurityGroupDescription(String dBSecurityGroupDescription)
The description for the DB security group.
|
void |
setDBSecurityGroupName(String dBSecurityGroupName)
The name for the DB security group.
|
void |
setTags(Collection<Tag> tags) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDBSecurityGroupRequest |
withDBSecurityGroupDescription(String dBSecurityGroupDescription)
The description for the DB security group.
|
CreateDBSecurityGroupRequest |
withDBSecurityGroupName(String dBSecurityGroupName)
The name for the DB security group.
|
CreateDBSecurityGroupRequest |
withTags(Collection<Tag> tags) |
CreateDBSecurityGroupRequest |
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 CreateDBSecurityGroupRequest()
public CreateDBSecurityGroupRequest(String dBSecurityGroupName, String dBSecurityGroupDescription)
dBSecurityGroupName
- The name for the DB security group. This value is stored as a lowercase string.
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
Must not be "Default"
Example: mysecuritygroup
dBSecurityGroupDescription
- The description for the DB security group.public void setDBSecurityGroupName(String dBSecurityGroupName)
The name for the DB security group. This value is stored as a lowercase string.
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
Must not be "Default"
Example: mysecuritygroup
dBSecurityGroupName
- The name for the DB security group. This value is stored as a lowercase string.
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
Must not be "Default"
Example: mysecuritygroup
public String getDBSecurityGroupName()
The name for the DB security group. This value is stored as a lowercase string.
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
Must not be "Default"
Example: mysecuritygroup
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
Must not be "Default"
Example: mysecuritygroup
public CreateDBSecurityGroupRequest withDBSecurityGroupName(String dBSecurityGroupName)
The name for the DB security group. This value is stored as a lowercase string.
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
Must not be "Default"
Example: mysecuritygroup
dBSecurityGroupName
- The name for the DB security group. This value is stored as a lowercase string.
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
Must not be "Default"
Example: mysecuritygroup
public void setDBSecurityGroupDescription(String dBSecurityGroupDescription)
The description for the DB security group.
dBSecurityGroupDescription
- The description for the DB security group.public String getDBSecurityGroupDescription()
The description for the DB security group.
public CreateDBSecurityGroupRequest withDBSecurityGroupDescription(String dBSecurityGroupDescription)
The description for the DB security group.
dBSecurityGroupDescription
- The description for the DB security group.public void setTags(Collection<Tag> tags)
tags
- public CreateDBSecurityGroupRequest 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 CreateDBSecurityGroupRequest withTags(Collection<Tag> tags)
tags
- public String toString()
toString
in class Object
Object.toString()
public CreateDBSecurityGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.