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:
  • Constructor Details

    • CreateCustomerGatewayResult

      public CreateCustomerGatewayResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object