|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.VpnStaticRoute
public class VpnStaticRoute
Describes a static route for a VPN connection.
| Constructor Summary | |
|---|---|
VpnStaticRoute()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDestinationCidrBlock()
The CIDR block associated with the local subnet of the customer data center. |
java.lang.String |
getSource()
Indicates how the routes were provided. |
java.lang.String |
getState()
The current state of the static route. |
int |
hashCode()
|
void |
setDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer data center. |
void |
setSource(java.lang.String source)
Indicates how the routes were provided. |
void |
setSource(VpnStaticRouteSource source)
Indicates how the routes were provided. |
void |
setState(java.lang.String state)
The current state of the static route. |
void |
setState(VpnState state)
The current state of the static route. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
VpnStaticRoute |
withDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer data center. |
VpnStaticRoute |
withSource(java.lang.String source)
Indicates how the routes were provided. |
VpnStaticRoute |
withSource(VpnStaticRouteSource source)
Indicates how the routes were provided. |
VpnStaticRoute |
withState(java.lang.String state)
The current state of the static route. |
VpnStaticRoute |
withState(VpnState state)
The current state of the static route. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VpnStaticRoute()
| Method Detail |
|---|
public java.lang.String getDestinationCidrBlock()
public void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
destinationCidrBlock - The CIDR block associated with the local subnet of the customer data
center.public VpnStaticRoute withDestinationCidrBlock(java.lang.String destinationCidrBlock)
Returns a reference to this object so that method calls can be chained together.
destinationCidrBlock - The CIDR block associated with the local subnet of the customer data
center.
public java.lang.String getSource()
Constraints:
Allowed Values: Static
VpnStaticRouteSourcepublic void setSource(java.lang.String source)
Constraints:
Allowed Values: Static
source - Indicates how the routes were provided.VpnStaticRouteSourcepublic VpnStaticRoute withSource(java.lang.String source)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Static
source - Indicates how the routes were provided.
VpnStaticRouteSourcepublic void setSource(VpnStaticRouteSource source)
Constraints:
Allowed Values: Static
source - Indicates how the routes were provided.VpnStaticRouteSourcepublic VpnStaticRoute withSource(VpnStaticRouteSource source)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Static
source - Indicates how the routes were provided.
VpnStaticRouteSourcepublic java.lang.String getState()
Constraints:
Allowed Values: pending, available, deleting, deleted
VpnStatepublic void setState(java.lang.String state)
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The current state of the static route.VpnStatepublic VpnStaticRoute withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The current state of the static route.
VpnStatepublic void setState(VpnState state)
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The current state of the static route.VpnStatepublic VpnStaticRoute withState(VpnState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The current state of the static route.
VpnStatepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||