Class DetachVpnGatewayRequest

    • Constructor Detail

      • DetachVpnGatewayRequest

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

        public DetachVpnGatewayRequest​(String vpnGatewayId,
                                       String vpcId)
        Constructs a new DetachVpnGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        vpnGatewayId - The ID of the virtual private gateway.
        vpcId - The ID of the VPC.
    • Method Detail

      • setVpnGatewayId

        public void setVpnGatewayId​(String vpnGatewayId)

        The ID of the virtual private gateway.

        Parameters:
        vpnGatewayId - The ID of the virtual private gateway.
      • getVpnGatewayId

        public String getVpnGatewayId()

        The ID of the virtual private gateway.

        Returns:
        The ID of the virtual private gateway.
      • withVpnGatewayId

        public DetachVpnGatewayRequest withVpnGatewayId​(String vpnGatewayId)

        The ID of the virtual private gateway.

        Parameters:
        vpnGatewayId - The ID of the virtual private gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVpcId

        public void setVpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
      • getVpcId

        public String getVpcId()

        The ID of the VPC.

        Returns:
        The ID of the VPC.
      • withVpcId

        public DetachVpnGatewayRequest withVpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
        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