public CustomerGateway withState(String state) {
        setState(state);
        return this;
    }
<p>
The current state of the customer gateway (<code>pending | available | deleting | deleted</code>).
</p>

@param state
       The current state of the customer gateway (<code>pending | available | deleting | deleted</code>).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CustomerGateway.java