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
VpnStaticRouteSource
public void setSource(String source)
Constraints:
Allowed Values: Static
source
- The new value for the Source property for this object.VpnStaticRouteSource
public 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.VpnStaticRouteSource
public void setSource(VpnStaticRouteSource source)
Constraints:
Allowed Values: Static
source
- The new value for the Source property for this object.VpnStaticRouteSource
public 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.VpnStaticRouteSource
public String getState()
Constraints:
Allowed Values: pending, available, deleting, deleted
VpnState
public void setState(String state)
Constraints:
Allowed Values: pending, available, deleting, deleted
state
- The new value for the State property for this object.VpnState
public 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.VpnState
public void setState(VpnState state)
Constraints:
Allowed Values: pending, available, deleting, deleted
state
- The new value for the State property for this object.VpnState
public 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.VpnState
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.