-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
AWS
committed
Jul 13, 2016
1 parent
786bc58
commit 15ca1bb
Showing
579 changed files
with
1,264,037 additions
and
1,236,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...va/com/amazonaws/services/certificatemanager/AWSCertificateManagerAsyncClientBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* | ||
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights | ||
* Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
package com.amazonaws.services.certificatemanager; | ||
|
||
import com.amazonaws.ClientConfigurationFactory; | ||
import com.amazonaws.annotation.NotThreadSafe; | ||
import com.amazonaws.client.builder.AwsAsyncClientBuilder; | ||
import com.amazonaws.client.AwsAsyncClientParams; | ||
|
||
/** | ||
* Fluent builder for | ||
* {@link com.amazonaws.services.certificatemanager.AWSCertificateManagerAsync}. | ||
* Use of the builder is preferred over using constructors of the client class. | ||
**/ | ||
@NotThreadSafe | ||
public final class AWSCertificateManagerAsyncClientBuilder | ||
extends | ||
AwsAsyncClientBuilder<AWSCertificateManagerAsyncClientBuilder, AWSCertificateManagerAsync> { | ||
|
||
private static final ClientConfigurationFactory CLIENT_CONFIG_FACTORY = new ClientConfigurationFactory();; | ||
|
||
/** | ||
* @return Create new instance of builder with all defaults set. | ||
*/ | ||
public static AWSCertificateManagerAsyncClientBuilder standard() { | ||
return new AWSCertificateManagerAsyncClientBuilder(); | ||
} | ||
|
||
/** | ||
* @return Default async client using the | ||
* {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and | ||
* {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain | ||
*/ | ||
public static AWSCertificateManagerAsync defaultClient() { | ||
return standard().build(); | ||
} | ||
|
||
private AWSCertificateManagerAsyncClientBuilder() { | ||
super(CLIENT_CONFIG_FACTORY); | ||
} | ||
|
||
/** | ||
* Construct an asynchronous implementation of AWSCertificateManagerAsync | ||
* using the current builder configuration. | ||
* | ||
* @param params | ||
* Current builder configuration represented as a parameter object. | ||
* @return Fully configured implementation of AWSCertificateManagerAsync. | ||
*/ | ||
@Override | ||
protected AWSCertificateManagerAsync build(AwsAsyncClientParams params) { | ||
return new AWSCertificateManagerAsyncClient(params); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...in/java/com/amazonaws/services/certificatemanager/AWSCertificateManagerClientBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* | ||
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights | ||
* Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
package com.amazonaws.services.certificatemanager; | ||
|
||
import com.amazonaws.ClientConfigurationFactory; | ||
import com.amazonaws.annotation.NotThreadSafe; | ||
import com.amazonaws.client.builder.AwsSyncClientBuilder; | ||
import com.amazonaws.client.AwsSyncClientParams; | ||
|
||
/** | ||
* Fluent builder for | ||
* {@link com.amazonaws.services.certificatemanager.AWSCertificateManager}. Use | ||
* of the builder is preferred over using constructors of the client class. | ||
**/ | ||
@NotThreadSafe | ||
public final class AWSCertificateManagerClientBuilder | ||
extends | ||
AwsSyncClientBuilder<AWSCertificateManagerClientBuilder, AWSCertificateManager> { | ||
|
||
private static final ClientConfigurationFactory CLIENT_CONFIG_FACTORY = new ClientConfigurationFactory(); | ||
|
||
/** | ||
* @return Create new instance of builder with all defaults set. | ||
*/ | ||
public static AWSCertificateManagerClientBuilder standard() { | ||
return new AWSCertificateManagerClientBuilder(); | ||
} | ||
|
||
/** | ||
* @return Default client using the | ||
* {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and | ||
* {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain | ||
*/ | ||
public static AWSCertificateManager defaultClient() { | ||
return standard().build(); | ||
} | ||
|
||
private AWSCertificateManagerClientBuilder() { | ||
super(CLIENT_CONFIG_FACTORY); | ||
} | ||
|
||
/** | ||
* Construct a synchronous implementation of AWSCertificateManager using the | ||
* current builder configuration. | ||
* | ||
* @param params | ||
* Current builder configuration represented as a parameter object. | ||
* @return Fully configured implementation of AWSCertificateManager. | ||
*/ | ||
@Override | ||
protected AWSCertificateManager build(AwsSyncClientParams params) { | ||
return new AWSCertificateManagerClient(params); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...y/src/main/java/com/amazonaws/services/apigateway/AmazonApiGatewayAsyncClientBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* | ||
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights | ||
* Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
package com.amazonaws.services.apigateway; | ||
|
||
import com.amazonaws.ClientConfigurationFactory; | ||
import com.amazonaws.annotation.NotThreadSafe; | ||
import com.amazonaws.client.builder.AwsAsyncClientBuilder; | ||
import com.amazonaws.client.AwsAsyncClientParams; | ||
|
||
/** | ||
* Fluent builder for | ||
* {@link com.amazonaws.services.apigateway.AmazonApiGatewayAsync}. Use of the | ||
* builder is preferred over using constructors of the client class. | ||
**/ | ||
@NotThreadSafe | ||
public final class AmazonApiGatewayAsyncClientBuilder | ||
extends | ||
AwsAsyncClientBuilder<AmazonApiGatewayAsyncClientBuilder, AmazonApiGatewayAsync> { | ||
|
||
private static final ClientConfigurationFactory CLIENT_CONFIG_FACTORY = new ClientConfigurationFactory();; | ||
|
||
/** | ||
* @return Create new instance of builder with all defaults set. | ||
*/ | ||
public static AmazonApiGatewayAsyncClientBuilder standard() { | ||
return new AmazonApiGatewayAsyncClientBuilder(); | ||
} | ||
|
||
/** | ||
* @return Default async client using the | ||
* {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and | ||
* {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain | ||
*/ | ||
public static AmazonApiGatewayAsync defaultClient() { | ||
return standard().build(); | ||
} | ||
|
||
private AmazonApiGatewayAsyncClientBuilder() { | ||
super(CLIENT_CONFIG_FACTORY); | ||
} | ||
|
||
/** | ||
* Construct an asynchronous implementation of AmazonApiGatewayAsync using | ||
* the current builder configuration. | ||
* | ||
* @param params | ||
* Current builder configuration represented as a parameter object. | ||
* @return Fully configured implementation of AmazonApiGatewayAsync. | ||
*/ | ||
@Override | ||
protected AmazonApiGatewayAsync build(AwsAsyncClientParams params) { | ||
return new AmazonApiGatewayAsyncClient(params); | ||
} | ||
|
||
} |
Oops, something went wrong.