Examples of addOutboundConfiguration()


Examples of com.streamreduce.core.model.Connection.addOutboundConfiguration()

        Connection createdConnection = connectionService.createConnection(awsConnection);

        //AWS creds for jason@nodeable.com, but Dave gets billed so feel free to use these for fun and profit
        String anotherAccessKey = "AKIAJYE3KRM4KGQ43OKQ";
        String anotherSecretKey = "LplQfj37z4R0Uj00gErN0qLTr0ek8FHFrm30CUba";
        createdConnection.addOutboundConfiguration(new OutboundConfiguration.Builder()
                .protocol("s3")
                .dataTypes(OutboundDataType.PROCESSED)
                .namespace(bucketName)
                .credentials(new ConnectionCredentials(anotherAccessKey, anotherSecretKey))
                .build());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.