MCPcopy Index your code
hub / github.com/amadeus4dev/amadeus-java / build

Method build

src/main/java/com/amadeus/Configuration.java:116–118  ·  view source on GitHub ↗

Builds an Amadeus client with the provided credentials. @return an Amadeus client @throws IllegalArgumentException when a client ID or client secret is missing

()

Source from the content-addressed store, hash-verified

114 * @throws IllegalArgumentException when a client ID or client secret is missing
115 */
116 public Amadeus build() throws IllegalArgumentException {
117 return new Amadeus(this);
118 }
119
120 /**
121 * The the name of the server API calls are made to, 'production' or 'test'. Defaults to 'test'.

Callers 15

testBuildMethod · 0.95
setupMethod · 0.80
setupMethod · 0.80
testInitializerMethod · 0.80
testToStringMethod · 0.80

Calls

no outgoing calls

Tested by 15

testBuildMethod · 0.76
setupMethod · 0.64
setupMethod · 0.64
testInitializerMethod · 0.64
testToStringMethod · 0.64