Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class IPRange

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

public class IPRange
extends Object
implements Serializable

Describes an IP range used in a security group.

See Also:
Serialized Form

Constructor Summary
IPRange()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCIDRIP()
          The IP range in Classless Inter-Domain Routing (CIDR) notation.
 String getStatus()
          The status of the IP range, for example, "authorized".
 int hashCode()
           
 void setCIDRIP(String cIDRIP)
          The IP range in Classless Inter-Domain Routing (CIDR) notation.
 void setStatus(String status)
          The status of the IP range, for example, "authorized".
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 IPRange withCIDRIP(String cIDRIP)
          The IP range in Classless Inter-Domain Routing (CIDR) notation.
 IPRange withStatus(String status)
          The status of the IP range, for example, "authorized".
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IPRange

public IPRange()
Method Detail

getStatus

public String getStatus()
The status of the IP range, for example, "authorized".

Returns:
The status of the IP range, for example, "authorized".

setStatus

public void setStatus(String status)
The status of the IP range, for example, "authorized".

Parameters:
status - The status of the IP range, for example, "authorized".

withStatus

public IPRange withStatus(String status)
The status of the IP range, for example, "authorized".

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

Parameters:
status - The status of the IP range, for example, "authorized".
Returns:
A reference to this updated object so that method calls can be chained together.

getCIDRIP

public String getCIDRIP()
The IP range in Classless Inter-Domain Routing (CIDR) notation.

Returns:
The IP range in Classless Inter-Domain Routing (CIDR) notation.

setCIDRIP

public void setCIDRIP(String cIDRIP)
The IP range in Classless Inter-Domain Routing (CIDR) notation.

Parameters:
cIDRIP - The IP range in Classless Inter-Domain Routing (CIDR) notation.

withCIDRIP

public IPRange withCIDRIP(String cIDRIP)
The IP range in Classless Inter-Domain Routing (CIDR) notation.

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

Parameters:
cIDRIP - The IP range in Classless Inter-Domain Routing (CIDR) notation.
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.