public CreateCustomerGatewayRequest withDeviceName(String deviceName) {
        setDeviceName(deviceName);
        return this;
    }
<p>
A name for the customer gateway device.
</p>
<p>
Length Constraints: Up to 255 characters.
</p>

@param deviceName
       A name for the customer gateway device.</p>
       <p>
       Length Constraints: Up to 255 characters.
@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/CreateCustomerGatewayRequest.java