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.

This API 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
 String getDBParameterGroupFamily()
          The name of the DB Parameter Group Family the DB Parameter Group can be used with.
 String getDBParameterGroupName()
          The name of the DB Parameter Group.
 String getDescription()
          The description for the DB Parameter Group.
 void setDBParameterGroupFamily(String dBParameterGroupFamily)
          The name of the DB Parameter Group Family the DB Parameter Group can be used with.
 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 name of the DB Parameter Group Family the DB Parameter Group can be used with.
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, 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.
dBParameterGroupFamily - The name of the DB Parameter Group Family the DB Parameter Group can be used with.
description - The description for the DB Parameter Group.
Method Detail

getDBParameterGroupName

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

Returns:
The name of the DB Parameter Group.

setDBParameterGroupName

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

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

withDBParameterGroupName

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

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

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

getDBParameterGroupFamily

public String getDBParameterGroupFamily()
The name of the DB Parameter Group Family the DB Parameter Group can be used with.

Returns:
The name of the DB Parameter Group Family the DB Parameter Group can be used with.

setDBParameterGroupFamily

public void setDBParameterGroupFamily(String dBParameterGroupFamily)
The name of the DB Parameter Group Family the DB Parameter Group can be used with.

Parameters:
dBParameterGroupFamily - The name of the DB Parameter Group Family the DB Parameter Group can be used with.

withDBParameterGroupFamily

public CreateDBParameterGroupRequest withDBParameterGroupFamily(String dBParameterGroupFamily)
The name of the DB Parameter Group Family the DB Parameter Group can be used with.

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

Parameters:
dBParameterGroupFamily - The name of the DB Parameter Group Family the DB Parameter Group can be used with.
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()


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