Package com.amazonaws.services.ec2.model
Class CreateCustomerGatewayResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateCustomerGatewayResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateCustomerGatewayResult extends Object implements Serializable, Cloneable
Contains the output of CreateCustomerGateway.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateCustomerGatewayResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCustomerGatewayResult
clone()
boolean
equals(Object obj)
CustomerGateway
getCustomerGateway()
Information about the customer gateway.int
hashCode()
void
setCustomerGateway(CustomerGateway customerGateway)
Information about the customer gateway.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateCustomerGatewayResult
withCustomerGateway(CustomerGateway customerGateway)
Information about the customer gateway.
-
-
-
Method Detail
-
setCustomerGateway
public void setCustomerGateway(CustomerGateway customerGateway)
Information about the customer gateway.
- Parameters:
customerGateway
- Information about the customer gateway.
-
getCustomerGateway
public CustomerGateway getCustomerGateway()
Information about the customer gateway.
- Returns:
- Information about the customer gateway.
-
withCustomerGateway
public CreateCustomerGatewayResult withCustomerGateway(CustomerGateway customerGateway)
Information about the customer gateway.
- Parameters:
customerGateway
- Information about the customer 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateCustomerGatewayResult clone()
-
-