/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.directconnect.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about a virtual private gateway for a private virtual interface. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class VirtualGateway implements Serializable, Cloneable, StructuredPojo { /** ** The ID of the virtual private gateway. *
*/ private String virtualGatewayId; /** ** The state of the virtual private gateway. The following are the possible values: *
*
* pending
: Initial state after creating the virtual private gateway.
*
* available
: Ready for use by a private virtual interface.
*
* deleting
: Initial state after deleting the virtual private gateway.
*
* deleted
: The virtual private gateway is deleted. The private virtual interface is unable to send
* traffic over this gateway.
*
* The ID of the virtual private gateway. *
* * @param virtualGatewayId * The ID of the virtual private gateway. */ public void setVirtualGatewayId(String virtualGatewayId) { this.virtualGatewayId = virtualGatewayId; } /** ** The ID of the virtual private gateway. *
* * @return The ID of the virtual private gateway. */ public String getVirtualGatewayId() { return this.virtualGatewayId; } /** ** The ID of the virtual private gateway. *
* * @param virtualGatewayId * The ID of the virtual private gateway. * @return Returns a reference to this object so that method calls can be chained together. */ public VirtualGateway withVirtualGatewayId(String virtualGatewayId) { setVirtualGatewayId(virtualGatewayId); return this; } /** ** The state of the virtual private gateway. The following are the possible values: *
*
* pending
: Initial state after creating the virtual private gateway.
*
* available
: Ready for use by a private virtual interface.
*
* deleting
: Initial state after deleting the virtual private gateway.
*
* deleted
: The virtual private gateway is deleted. The private virtual interface is unable to send
* traffic over this gateway.
*
* pending
: Initial state after creating the virtual private gateway.
*
* available
: Ready for use by a private virtual interface.
*
* deleting
: Initial state after deleting the virtual private gateway.
*
* deleted
: The virtual private gateway is deleted. The private virtual interface is unable to
* send traffic over this gateway.
*
* The state of the virtual private gateway. The following are the possible values: *
*
* pending
: Initial state after creating the virtual private gateway.
*
* available
: Ready for use by a private virtual interface.
*
* deleting
: Initial state after deleting the virtual private gateway.
*
* deleted
: The virtual private gateway is deleted. The private virtual interface is unable to send
* traffic over this gateway.
*
* pending
: Initial state after creating the virtual private gateway.
*
* available
: Ready for use by a private virtual interface.
*
* deleting
: Initial state after deleting the virtual private gateway.
*
* deleted
: The virtual private gateway is deleted. The private virtual interface is unable to
* send traffic over this gateway.
*
* The state of the virtual private gateway. The following are the possible values: *
*
* pending
: Initial state after creating the virtual private gateway.
*
* available
: Ready for use by a private virtual interface.
*
* deleting
: Initial state after deleting the virtual private gateway.
*
* deleted
: The virtual private gateway is deleted. The private virtual interface is unable to send
* traffic over this gateway.
*
* pending
: Initial state after creating the virtual private gateway.
*
* available
: Ready for use by a private virtual interface.
*
* deleting
: Initial state after deleting the virtual private gateway.
*
* deleted
: The virtual private gateway is deleted. The private virtual interface is unable to
* send traffic over this gateway.
*