com.amazonaws.services.rds.model
Class CreateDBParameterGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.CreateDBParameterGroupRequest

public class CreateDBParameterGroupRequest
extends AmazonWebServiceRequest

Container for the parameters to the CreateDBParameterGroup operation.

Creates a new database parameter group.

See Also:
AmazonRDS.createDBParameterGroup(CreateDBParameterGroupRequest)

Constructor Summary
CreateDBParameterGroupRequest()
          Default constructor for a new CreateDBParameterGroupRequest object.
CreateDBParameterGroupRequest(String dBParameterGroupName, String dBParameterGroupFamily, String description)
          Constructs a new CreateDBParameterGroupRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getDBParameterGroupFamily()
          The DB parameter group family name.
 String getDBParameterGroupName()
          The name of the DB Parameter Group.
 String getDescription()
          The description for the DB Parameter Group.
 int hashCode()
           
 void setDBParameterGroupFamily(String dBParameterGroupFamily)
          The DB parameter group family name.
 void setDBParameterGroupName(String dBParameterGroupName)
          The name of the DB Parameter Group.
 void setDescription(String description)
          The description for the DB Parameter Group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateDBParameterGroupRequest withDBParameterGroupFamily(String dBParameterGroupFamily)
          The DB parameter group family name.
 CreateDBParameterGroupRequest withDBParameterGroupName(String dBParameterGroupName)
          The name of the DB Parameter Group.
 CreateDBParameterGroupRequest withDescription(String description)
          The description for the DB Parameter Group.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateDBParameterGroupRequest

public CreateDBParameterGroupRequest()
Default constructor for a new CreateDBParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


CreateDBParameterGroupRequest

public CreateDBParameterGroupRequest(String dBParameterGroupName,
                                     String dBParameterGroupFamily,
                                     String description)
Constructs a new CreateDBParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
dBParameterGroupName - The name of the DB Parameter Group.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
This value is stored as a lower-case string.
dBParameterGroupFamily - The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine compatible with that DB parameter group family and version.
description - The description for the DB Parameter Group.
Method Detail

getDBParameterGroupName

public String getDBParameterGroupName()
The name of the DB Parameter Group.

Constraints:

This value is stored as a lower-case string.

Returns:
The name of the DB Parameter Group.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
This value is stored as a lower-case string.

setDBParameterGroupName

public void setDBParameterGroupName(String dBParameterGroupName)
The name of the DB Parameter Group.

Constraints:

This value is stored as a lower-case string.

Parameters:
dBParameterGroupName - The name of the DB Parameter Group.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
This value is stored as a lower-case string.

withDBParameterGroupName

public CreateDBParameterGroupRequest withDBParameterGroupName(String dBParameterGroupName)
The name of the DB Parameter Group.

Constraints:

This value is stored as a lower-case string.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBParameterGroupName - The name of the DB Parameter Group.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
This value is stored as a lower-case string.
Returns:
A reference to this updated object so that method calls can be chained together.

getDBParameterGroupFamily

public String getDBParameterGroupFamily()
The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine compatible with that DB parameter group family and version.

Returns:
The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine compatible with that DB parameter group family and version.

setDBParameterGroupFamily

public void setDBParameterGroupFamily(String dBParameterGroupFamily)
The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine compatible with that DB parameter group family and version.

Parameters:
dBParameterGroupFamily - The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine compatible with that DB parameter group family and version.

withDBParameterGroupFamily

public CreateDBParameterGroupRequest withDBParameterGroupFamily(String dBParameterGroupFamily)
The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine compatible with that DB parameter group family and version.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBParameterGroupFamily - The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine compatible with that DB parameter group family and version.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
The description for the DB Parameter Group.

Returns:
The description for the DB Parameter Group.

setDescription

public void setDescription(String description)
The description for the DB Parameter Group.

Parameters:
description - The description for the DB Parameter Group.

withDescription

public CreateDBParameterGroupRequest withDescription(String description)
The description for the DB Parameter Group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - The description for the DB Parameter Group.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.