Example usage for com.amazonaws.services.codebuild AWSCodeBuildClient setEndpoint

List of usage examples for com.amazonaws.services.codebuild AWSCodeBuildClient setEndpoint

Introduction

In this page you can find the example usage for com.amazonaws.services.codebuild AWSCodeBuildClient setEndpoint.

Prototype

@Deprecated
void setEndpoint(String endpoint);

Source Link

Document

Overrides the default endpoint for this client ("codebuild.us-east-1.amazonaws.com").

Usage

From source file:AWSClientFactory.java

License:Open Source License

public AWSCodeBuildClient getCodeBuildClient() throws InvalidInputException {
    AWSCodeBuildClient client = new AWSCodeBuildClient(awsCredentials, clientConfig);
    client.setEndpoint("https://codebuild." + region + ".amazonaws.com");
    return client;
}