public CustomerGateway withCertificateArn(String certificateArn) {
        setCertificateArn(certificateArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) for the customer gateway certificate.
</p>

@param certificateArn
       The Amazon Resource Name (ARN) for the customer gateway certificate.
@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