Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class IPRange

java.lang.Object
  extended by com.amazonaws.services.rds.model.IPRange
All Implemented Interfaces:
Serializable

public class IPRange
extends Object
implements Serializable

This data type is used as a response element in the DescribeDBSecurityGroups action.

See Also:
Serialized Form

Constructor Summary
IPRange()
          Default constructor for a new IPRange object.
 
Method Summary
 boolean equals(Object obj)
           
 String getCIDRIP()
          Specifies the IP range.
 String getStatus()
          Specifies the status of the IP range.
 int hashCode()
           
 void setCIDRIP(String cIDRIP)
          Specifies the IP range.
 void setStatus(String status)
          Specifies the status of the IP range.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 IPRange withCIDRIP(String cIDRIP)
          Specifies the IP range.
 IPRange withStatus(String status)
          Specifies the status of the IP range.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IPRange

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

Method Detail

getStatus

public String getStatus()
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".

Returns:
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".

setStatus

public void setStatus(String status)
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".

Parameters:
status - Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".

withStatus

public IPRange withStatus(String status)
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".

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

Parameters:
status - Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
Returns:
A reference to this updated object so that method calls can be chained together.

getCIDRIP

public String getCIDRIP()
Specifies the IP range.

Returns:
Specifies the IP range.

setCIDRIP

public void setCIDRIP(String cIDRIP)
Specifies the IP range.

Parameters:
cIDRIP - Specifies the IP range.

withCIDRIP

public IPRange withCIDRIP(String cIDRIP)
Specifies the IP range.

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

Parameters:
cIDRIP - Specifies the IP range.
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.