Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class ModifyDBSubnetGroupRequest

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

public class ModifyDBSubnetGroupRequest
extends AmazonWebServiceRequest

Container for the parameters to the ModifyDBSubnetGroup operation.

Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in each AZ in the region.

See Also:
AmazonRDS.modifyDBSubnetGroup(ModifyDBSubnetGroupRequest)

Constructor Summary
ModifyDBSubnetGroupRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDBSubnetGroupDescription()
          The description for the DB Subnet Group.
 java.lang.String getDBSubnetGroupName()
          The name for the DB Subnet Group.
 java.util.List<java.lang.String> getSubnetIds()
          The EC2 Subnet IDs for the DB Subnet Group.
 int hashCode()
           
 void setDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
          The description for the DB Subnet Group.
 void setDBSubnetGroupName(java.lang.String dBSubnetGroupName)
          The name for the DB Subnet Group.
 void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
          The EC2 Subnet IDs for the DB Subnet Group.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ModifyDBSubnetGroupRequest withDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
          The description for the DB Subnet Group.
 ModifyDBSubnetGroupRequest withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
          The name for the DB Subnet Group.
 ModifyDBSubnetGroupRequest withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
          The EC2 Subnet IDs for the DB Subnet Group.
 ModifyDBSubnetGroupRequest withSubnetIds(java.lang.String... subnetIds)
          The EC2 Subnet IDs for the DB Subnet 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

ModifyDBSubnetGroupRequest

public ModifyDBSubnetGroupRequest()
Method Detail

getDBSubnetGroupName

public java.lang.String getDBSubnetGroupName()
The name for the DB Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".

Example: mySubnetgroup

Returns:
The name for the DB Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".

Example: mySubnetgroup


setDBSubnetGroupName

public void setDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name for the DB Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".

Example: mySubnetgroup

Parameters:
dBSubnetGroupName - The name for the DB Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".

Example: mySubnetgroup


withDBSubnetGroupName

public ModifyDBSubnetGroupRequest withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name for the DB Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".

Example: mySubnetgroup

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

Parameters:
dBSubnetGroupName - The name for the DB Subnet Group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".

Example: mySubnetgroup

Returns:
A reference to this updated object so that method calls can be chained together.

getDBSubnetGroupDescription

public java.lang.String getDBSubnetGroupDescription()
The description for the DB Subnet Group.

Returns:
The description for the DB Subnet Group.

setDBSubnetGroupDescription

public void setDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB Subnet Group.

Parameters:
dBSubnetGroupDescription - The description for the DB Subnet Group.

withDBSubnetGroupDescription

public ModifyDBSubnetGroupRequest withDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB Subnet Group.

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

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

getSubnetIds

public java.util.List<java.lang.String> getSubnetIds()
The EC2 Subnet IDs for the DB Subnet Group.

Returns:
The EC2 Subnet IDs for the DB Subnet Group.

setSubnetIds

public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 Subnet IDs for the DB Subnet Group.

Parameters:
subnetIds - The EC2 Subnet IDs for the DB Subnet Group.

withSubnetIds

public ModifyDBSubnetGroupRequest withSubnetIds(java.lang.String... subnetIds)
The EC2 Subnet IDs for the DB Subnet Group.

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

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

withSubnetIds

public ModifyDBSubnetGroupRequest withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 Subnet IDs for the DB Subnet Group.

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

Parameters:
subnetIds - The EC2 Subnet IDs for the DB Subnet 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.