Class CreateVpnGatewayRequest

    • Constructor Detail

      • CreateVpnGatewayRequest

        public CreateVpnGatewayRequest()
        Default constructor for CreateVpnGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • CreateVpnGatewayRequest

        public CreateVpnGatewayRequest​(String type)
        Constructs a new CreateVpnGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        type - The type of VPN connection this virtual private gateway supports.
      • CreateVpnGatewayRequest

        public CreateVpnGatewayRequest​(GatewayType type)
        Constructs a new CreateVpnGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        type - The type of VPN connection this virtual private gateway supports.
    • Method Detail

      • setType

        public void setType​(String type)

        The type of VPN connection this virtual private gateway supports.

        Parameters:
        type - The type of VPN connection this virtual private gateway supports.
        See Also:
        GatewayType
      • getType

        public String getType()

        The type of VPN connection this virtual private gateway supports.

        Returns:
        The type of VPN connection this virtual private gateway supports.
        See Also:
        GatewayType
      • withType

        public CreateVpnGatewayRequest withType​(String type)

        The type of VPN connection this virtual private gateway supports.

        Parameters:
        type - The type of VPN connection this virtual private gateway supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GatewayType
      • setType

        public void setType​(GatewayType type)

        The type of VPN connection this virtual private gateway supports.

        Parameters:
        type - The type of VPN connection this virtual private gateway supports.
        See Also:
        GatewayType
      • withType

        public CreateVpnGatewayRequest withType​(GatewayType type)

        The type of VPN connection this virtual private gateway supports.

        Parameters:
        type - The type of VPN connection this virtual private gateway supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GatewayType
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)

        The Availability Zone for the virtual private gateway.

        Parameters:
        availabilityZone - The Availability Zone for the virtual private gateway.
      • getAvailabilityZone

        public String getAvailabilityZone()

        The Availability Zone for the virtual private gateway.

        Returns:
        The Availability Zone for the virtual private gateway.
      • withAvailabilityZone

        public CreateVpnGatewayRequest withAvailabilityZone​(String availabilityZone)

        The Availability Zone for the virtual private gateway.

        Parameters:
        availabilityZone - The Availability Zone for the virtual private gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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