public ReplicationInstance withReplicationInstancePublicIpAddresses(String... replicationInstancePublicIpAddresses) {
        if (this.replicationInstancePublicIpAddresses == null) {
            setReplicationInstancePublicIpAddresses(new java.util.ArrayList<String>(replicationInstancePublicIpAddresses.length));
        }
        for (String ele : replicationInstancePublicIpAddresses) {
            this.replicationInstancePublicIpAddresses.add(ele);
        }
        return this;
    }
public ReplicationInstance withReplicationInstancePublicIpAddresses ( String ... replicationInstancePublicIpAddresses ) { if ( this . replicationInstancePublicIpAddresses == null ) { setReplicationInstancePublicIpAddresses ( new java . util . ArrayList < String > ( replicationInstancePublicIpAddresses . length ) ) ; } for ( String ele : replicationInstancePublicIpAddresses ) { this . replicationInstancePublicIpAddresses . add ( ele ) ; } return this ; }
<p>
The public IP address of the replication instance.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReplicationInstancePublicIpAddresses(java.util.Collection)} or
{@link #withReplicationInstancePublicIpAddresses(java.util.Collection)} if you want to override the existing
values.
</p>

@param replicationInstancePublicIpAddresses
The public IP address of the replication instance.
@return Returns a reference to this object so that method calls can be chained together.