public class VpnStaticRoute extends Object implements Serializable
| Constructor and Description |
|---|
VpnStaticRoute() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
Returns the value of the DestinationCidrBlock property for this
object.
|
String |
getSource()
Returns the value of the Source property for this object.
|
String |
getState()
Returns the value of the State property for this object.
|
int |
hashCode() |
void |
setDestinationCidrBlock(String destinationCidrBlock)
Sets the value of the DestinationCidrBlock property for this object.
|
void |
setSource(String source)
Sets the value of the Source property for this object.
|
void |
setSource(VpnStaticRouteSource source)
Sets the value of the Source property for this object.
|
void |
setState(String state)
Sets the value of the State property for this object.
|
void |
setState(VpnState state)
Sets the value of the State property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpnStaticRoute |
withDestinationCidrBlock(String destinationCidrBlock)
Sets the value of the DestinationCidrBlock property for this object.
|
VpnStaticRoute |
withSource(String source)
Sets the value of the Source property for this object.
|
VpnStaticRoute |
withSource(VpnStaticRouteSource source)
Sets the value of the Source property for this object.
|
VpnStaticRoute |
withState(String state)
Sets the value of the State property for this object.
|
VpnStaticRoute |
withState(VpnState state)
Sets the value of the State property for this object.
|
public String getDestinationCidrBlock()
public void setDestinationCidrBlock(String destinationCidrBlock)
destinationCidrBlock - The new value for the DestinationCidrBlock property for this object.public VpnStaticRoute withDestinationCidrBlock(String destinationCidrBlock)
Returns a reference to this object so that method calls can be chained together.
destinationCidrBlock - The new value for the DestinationCidrBlock property for this object.public String getSource()
Constraints:
Allowed Values: Static
VpnStaticRouteSourcepublic void setSource(String source)
Constraints:
Allowed Values: Static
source - The new value for the Source property for this object.VpnStaticRouteSourcepublic VpnStaticRoute withSource(String source)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Static
source - The new value for the Source property for this object.VpnStaticRouteSourcepublic void setSource(VpnStaticRouteSource source)
Constraints:
Allowed Values: Static
source - The new value for the Source property for this object.VpnStaticRouteSourcepublic VpnStaticRoute withSource(VpnStaticRouteSource source)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Static
source - The new value for the Source property for this object.VpnStaticRouteSourcepublic String getState()
Constraints:
Allowed Values: pending, available, deleting, deleted
VpnStatepublic void setState(String state)
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The new value for the State property for this object.VpnStatepublic VpnStaticRoute withState(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 new value for the State property for this object.VpnStatepublic void setState(VpnState state)
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The new value for the State property for this object.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 new value for the State property for this object.VpnStatepublic String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.