Package com.amazonaws.services.ec2.model
Class VpnStaticRoute
java.lang.Object
com.amazonaws.services.ec2.model.VpnStaticRoute
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a static route for a VPN connection.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The CIDR block associated with the local subnet of the customer data center.Indicates how the routes were provided.getState()
The current state of the static route.int
hashCode()
void
setDestinationCidrBlock
(String destinationCidrBlock) The CIDR block associated with the local subnet of the customer data center.void
setSource
(VpnStaticRouteSource source) Indicates how the routes were provided.void
Indicates how the routes were provided.void
The current state of the static route.void
The current state of the static route.toString()
Returns a string representation of this object; useful for testing and debugging.withDestinationCidrBlock
(String destinationCidrBlock) The CIDR block associated with the local subnet of the customer data center.withSource
(VpnStaticRouteSource source) Indicates how the routes were provided.withSource
(String source) Indicates how the routes were provided.The current state of the static route.The current state of the static route.
-
Constructor Details
-
VpnStaticRoute
public VpnStaticRoute()
-
-
Method Details
-
setDestinationCidrBlock
The CIDR block associated with the local subnet of the customer data center.
- Parameters:
destinationCidrBlock
- The CIDR block associated with the local subnet of the customer data center.
-
getDestinationCidrBlock
The CIDR block associated with the local subnet of the customer data center.
- Returns:
- The CIDR block associated with the local subnet of the customer data center.
-
withDestinationCidrBlock
The CIDR block associated with the local subnet of the customer data center.
- Parameters:
destinationCidrBlock
- The CIDR block associated with the local subnet of the customer data center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSource
Indicates how the routes were provided.
- Parameters:
source
- Indicates how the routes were provided.- See Also:
-
getSource
Indicates how the routes were provided.
- Returns:
- Indicates how the routes were provided.
- See Also:
-
withSource
Indicates how the routes were provided.
- Parameters:
source
- Indicates how the routes were provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSource
Indicates how the routes were provided.
- Parameters:
source
- Indicates how the routes were provided.- See Also:
-
withSource
Indicates how the routes were provided.
- Parameters:
source
- Indicates how the routes were provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The current state of the static route.
- Parameters:
state
- The current state of the static route.- See Also:
-
getState
The current state of the static route.
- Returns:
- The current state of the static route.
- See Also:
-
withState
The current state of the static route.
- Parameters:
state
- The current state of the static route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The current state of the static route.
- Parameters:
state
- The current state of the static route.- See Also:
-
withState
The current state of the static route.
- Parameters:
state
- The current state of the static route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-