com.amazonaws.services.ec2.model
Class EnableVgwRoutePropagationRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.EnableVgwRoutePropagationRequest
All Implemented Interfaces:
java.io.Serializable

public class EnableVgwRoutePropagationRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the EnableVgwRoutePropagation operation.

Enables a virtual private gateway (VGW) to propagate routes to the routing tables of a VPC.

See Also:
AmazonEC2.enableVgwRoutePropagation(EnableVgwRoutePropagationRequest), Serialized Form

Constructor Summary
EnableVgwRoutePropagationRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getGatewayId()
          The ID of the virtual private gateway.
 java.lang.String getRouteTableId()
          The ID of the routing table.
 int hashCode()
           
 void setGatewayId(java.lang.String gatewayId)
          The ID of the virtual private gateway.
 void setRouteTableId(java.lang.String routeTableId)
          The ID of the routing table.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 EnableVgwRoutePropagationRequest withGatewayId(java.lang.String gatewayId)
          The ID of the virtual private gateway.
 EnableVgwRoutePropagationRequest withRouteTableId(java.lang.String routeTableId)
          The ID of the routing table.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnableVgwRoutePropagationRequest

public EnableVgwRoutePropagationRequest()
Method Detail

getRouteTableId

public java.lang.String getRouteTableId()
The ID of the routing table.

Returns:
The ID of the routing table.

setRouteTableId

public void setRouteTableId(java.lang.String routeTableId)
The ID of the routing table.

Parameters:
routeTableId - The ID of the routing table.

withRouteTableId

public EnableVgwRoutePropagationRequest withRouteTableId(java.lang.String routeTableId)
The ID of the routing table.

Returns a reference to this object so that method calls can be chained together.

Parameters:
routeTableId - The ID of the routing table.
Returns:
A reference to this updated object so that method calls can be chained together.

getGatewayId

public java.lang.String getGatewayId()
The ID of the virtual private gateway.

Returns:
The ID of the virtual private gateway.

setGatewayId

public void setGatewayId(java.lang.String gatewayId)
The ID of the virtual private gateway.

Parameters:
gatewayId - The ID of the virtual private gateway.

withGatewayId

public EnableVgwRoutePropagationRequest withGatewayId(java.lang.String gatewayId)
The ID of the virtual private gateway.

Returns a reference to this object so that method calls can be chained together.

Parameters:
gatewayId - The ID of the virtual private gateway.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.