Java Code Examples for software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration#Builder
The following examples show how to use
software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration#Builder .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: test-json-client-class.java From aws-sdk-java-v2 with Apache License 2.0 | 5 votes |
private <T extends JsonRequest> T applyPaginatorUserAgent(T request) { Consumer<AwsRequestOverrideConfiguration.Builder> userAgentApplier = b -> b.addApiName(ApiName.builder() .version(VersionInfo.SDK_VERSION).name("PAGINATED").build()); AwsRequestOverrideConfiguration overrideConfiguration = request.overrideConfiguration() .map(c -> c.toBuilder().applyMutation(userAgentApplier).build()) .orElse((AwsRequestOverrideConfiguration.builder().applyMutation(userAgentApplier).build())); return (T) request.toBuilder().overrideConfiguration(overrideConfiguration).build(); }
Example 2
Source File: eventstreamoperationwithonlyinputrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 3
Source File: operationwithnoinputoroutputrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 4
Source File: streambirthsrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration( Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 5
Source File: streamdeathsrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration( Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 6
Source File: eventstreamoperationrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 7
Source File: streaminginputoperationrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override public Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) { super.overrideConfiguration(builderConsumer); return this; }
Example 8
Source File: streamdeathsrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override public Builder overrideConfiguration( Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) { super.overrideConfiguration(builderConsumer); return this; }
Example 9
Source File: getrandompersonrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 10
Source File: deprecatedrenamerequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 11
Source File: eventstreamoperationwithonlyinputrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override public Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) { super.overrideConfiguration(builderConsumer); return this; }
Example 12
Source File: streamingoutputoperationrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 13
Source File: testxmlnamespacerequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override public Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) { super.overrideConfiguration(builderConsumer); return this; }
Example 14
Source File: alltypesrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override public Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) { super.overrideConfiguration(builderConsumer); return this; }
Example 15
Source File: existencechecknamingrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override public Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) { super.overrideConfiguration(builderConsumer); return this; }
Example 16
Source File: existencechecknamingrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 17
Source File: alltypesrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override public Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) { super.overrideConfiguration(builderConsumer); return this; }
Example 18
Source File: alltypesrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);
Example 19
Source File: nestedcontainersrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override public Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) { super.overrideConfiguration(builderConsumer); return this; }
Example 20
Source File: nestedcontainersrequest.java From aws-sdk-java-v2 with Apache License 2.0 | 4 votes |
@Override Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer);