Class VpnStaticRoute

    • Constructor Detail

      • VpnStaticRoute

        public VpnStaticRoute()
    • Method Detail

      • setDestinationCidrBlock

        public void setDestinationCidrBlock​(String destinationCidrBlock)

        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

        public String 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

        public VpnStaticRoute withDestinationCidrBlock​(String destinationCidrBlock)

        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

        public void setSource​(String source)

        Indicates how the routes were provided.

        Parameters:
        source - Indicates how the routes were provided.
        See Also:
        VpnStaticRouteSource
      • getSource

        public String getSource()

        Indicates how the routes were provided.

        Returns:
        Indicates how the routes were provided.
        See Also:
        VpnStaticRouteSource
      • withSource

        public VpnStaticRoute withSource​(String source)

        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:
        VpnStaticRouteSource
      • setSource

        public void setSource​(VpnStaticRouteSource source)

        Indicates how the routes were provided.

        Parameters:
        source - Indicates how the routes were provided.
        See Also:
        VpnStaticRouteSource
      • withSource

        public VpnStaticRoute withSource​(VpnStaticRouteSource source)

        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:
        VpnStaticRouteSource
      • setState

        public void setState​(String state)

        The current state of the static route.

        Parameters:
        state - The current state of the static route.
        See Also:
        VpnState
      • getState

        public String getState()

        The current state of the static route.

        Returns:
        The current state of the static route.
        See Also:
        VpnState
      • withState

        public VpnStaticRoute withState​(String state)

        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:
        VpnState
      • setState

        public void setState​(VpnState state)

        The current state of the static route.

        Parameters:
        state - The current state of the static route.
        See Also:
        VpnState
      • withState

        public VpnStaticRoute withState​(VpnState state)

        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:
        VpnState
      • 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