Did this page help you?

   Yes   No   Tell us about it...

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 DB Parameter Group.

A DB Parameter Group is initially created with the default parameters for the database engine used by the DB Instance. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBParameterGroup . Once you've created a DB Parameter Group, you need to associate it with your DB Instance using ModifyDBInstance . When you associate a new DB Parameter Group with a running DB Instance, you need to reboot the DB Instance for the new DB Parameter Group and associated settings to take effect.

See Also:
AmazonRDS.createDBParameterGroup(CreateDBParameterGroupRequest)

Constructor Summary
CreateDBParameterGroupRequest()
          Default constructor for a new CreateDBParameterGroupRequest object.
CreateDBParameterGroupRequest(java.lang.String dBParameterGroupName, java.lang.String dBParameterGroupFamily, java.lang.String description)
          Constructs a new CreateDBParameterGroupRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDBParameterGroupFamily()
          The DB Parameter Group Family name.
 java.lang.String getDBParameterGroupName()
          The name of the DB Parameter Group.
 java.lang.String getDescription()
          The description for the DB Parameter Group.
 int hashCode()
           
 void setDBParameterGroupFamily(java.lang.String dBParameterGroupFamily)
          The DB Parameter Group Family name.
 void setDBParameterGroupName(java.lang.String dBParameterGroupName)
          The name of the DB Parameter Group.
 void setDescription(java.lang.String description)
          The description for the DB Parameter Group.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateDBParameterGroupRequest withDBParameterGroupFamily(java.lang.String dBParameterGroupFamily)
          The DB Parameter Group Family name.
 CreateDBParameterGroupRequest withDBParameterGroupName(java.lang.String dBParameterGroupName)
          The name of the DB Parameter Group.
 CreateDBParameterGroupRequest withDescription(java.lang.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(java.lang.String dBParameterGroupName,
                                     java.lang.String dBParameterGroupFamily,
                                     java.lang.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 and engine version compatible with that DB Parameter Group Family.
description - The description for the DB Parameter Group.
Method Detail

getDBParameterGroupName

public java.lang.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(java.lang.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(java.lang.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 java.lang.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 and engine version compatible with that DB Parameter Group Family.

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 and engine version compatible with that DB Parameter Group Family.

setDBParameterGroupFamily

public void setDBParameterGroupFamily(java.lang.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 and engine version compatible with that DB Parameter Group Family.

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 and engine version compatible with that DB Parameter Group Family.

withDBParameterGroupFamily

public CreateDBParameterGroupRequest withDBParameterGroupFamily(java.lang.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 and engine version compatible with that DB Parameter Group Family.

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 and engine version compatible with that DB Parameter Group Family.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

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

Returns:
The description for the DB Parameter Group.

setDescription

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

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

withDescription

public CreateDBParameterGroupRequest withDescription(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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