/** * @return Default async client using the {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and * {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain */ public static AWSSupportAsync defaultClient() { return standard().build(); }
/** * @return Default async client using the {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and * {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain */ public static AWSSupportAsync defaultClient() { return standard().build(); }
public SupportClient(String profile) { this(AWSSupportAsyncClientBuilder .standard() .withCredentials(CredentialsSupplier.getAWSCredentialsProvider(profile)) .withRegion(Regions.US_EAST_1.getName()) .build()); }
public static SupportClient withClient(AWSSupportAsync client) { if (client == null){ return new SupportClient( AWSSupportAsyncClientBuilder.standard() .withRegion(Regions.US_EAST_1.getName()) .build() ); } else { return new SupportClient(client); } }
public TrustedAdvisorClient(String profile) { this(AWSSupportAsyncClientBuilder .standard() .withCredentials(CredentialsSupplier.getAWSCredentialsProvider(profile)) .withRegion(Regions.US_EAST_1.getName()) .build()); }
public static TrustedAdvisorClient withClient(AWSSupportAsync client) { if (client == null){ return new TrustedAdvisorClient( AWSSupportAsyncClientBuilder.standard() .withRegion(Regions.US_EAST_1.getName()) .build() ); } else { return new TrustedAdvisorClient(client); } }