public synchronized NetworkServiceRecordAgent getNetworkServiceRecordAgent() {
    if (this.networkServiceRecordAgent == null) {
      if (isService) {
        this.networkServiceRecordAgent =
            new NetworkServiceRecordAgent(
                this.serviceName,
                this.projectId,
                this.sslEnabled,
                this.nfvoIp,
                this.nfvoPort,
                this.version,
                this.serviceKey);
      } else {
        this.networkServiceRecordAgent =
            new NetworkServiceRecordAgent(
                this.username,
                this.password,
                this.projectId,
                this.sslEnabled,
                this.nfvoIp,
                this.nfvoPort,
                this.version);
      }
    }
    return this.networkServiceRecordAgent;
  }
public synchronized NetworkServiceRecordAgent getNetworkServiceRecordAgent ( ) { if ( this . networkServiceRecordAgent == null ) { if ( isService ) { this . networkServiceRecordAgent = new NetworkServiceRecordAgent ( this . serviceName , this . projectId , this . sslEnabled , this . nfvoIp , this . nfvoPort , this . version , this . serviceKey ) ; } else { this . networkServiceRecordAgent = new NetworkServiceRecordAgent ( this . username , this . password , this . projectId , this . sslEnabled , this . nfvoIp , this . nfvoPort , this . version ) ; } } return this . networkServiceRecordAgent ; }
Returns a NetworkServiceRecordAgent with which requests regarding NetworkServiceRecords can be
sent to the NFVO.

@return a NetworkServiceRecordAgent