public CreateConnectPeerRequest withCoreNetworkAddress(String coreNetworkAddress) {
        setCoreNetworkAddress(coreNetworkAddress);
        return this;
    }
<p>
A Connect peer core network address. This only applies only when the protocol is <code>GRE</code>.
</p>

@param coreNetworkAddress
       A Connect peer core network address. This only applies only when the protocol is <code>GRE</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/CreateConnectPeerRequest.java