public static interface RequestOverrideConfig.Builder<B extends RequestOverrideConfig.Builder>
| Modifier and Type | Method and Description |
|---|---|
B |
addApiName(ApiName apiName)
Set the optional name of the higher level library that constructed the request.
|
B |
addApiName(Consumer<ApiName.Builder> apiNameConsumer)
Set the optional name of the higher level library that constructed the request.
|
List<ApiName> |
apiNames()
The optional names of the higher level libraries that constructed the request.
|
RequestOverrideConfig |
build()
Create a new
SdkRequestOverrideConfig with the properties set on this builder. |
B |
header(String name,
List<String> values)
Add additional headers to be set on the HTTP request.
|
default B |
header(String name,
String value)
Add an additional header to be set on the HTTP request.
|
Map<String,List<String>> |
headers()
Optional additional headers to be added to the HTTP request.
|
B |
headers(Map<String,List<String>> headers)
Add additional headers to be set on the HTTP request.
|
B |
rawQueryParameter(String name,
List<String> values)
Add an additional query parameter to be set on the HTTP request.
|
default B |
rawQueryParameter(String name,
String value)
Add an additional query parameter to be set on the HTTP request.
|
Map<String,List<String>> |
rawQueryParameters()
Optional additional query parameters to be added to the HTTP request.
|
B |
rawQueryParameters(Map<String,List<String>> rawQueryParameters)
Add additional query parameters to be set on the HTTP request.
|
Map<String,List<String>> headers()
default B header(String name, String value)
name - The name of the header.value - The value of the header.B header(String name, List<String> values)
name - The name of the header.values - The values of the header.B headers(Map<String,List<String>> headers)
headers - The set of additional headers.Map<String,List<String>> rawQueryParameters()
default B rawQueryParameter(String name, String value)
name - The query parameter name.value - The query parameter value.B rawQueryParameter(String name, List<String> values)
name - The query parameter name.values - The query parameter values.B rawQueryParameters(Map<String,List<String>> rawQueryParameters)
rawQueryParameters - The set of additional query parameters.List<ApiName> apiNames()
B addApiName(ApiName apiName)
apiName - The name of the library.B addApiName(Consumer<ApiName.Builder> apiNameConsumer)
apiNameConsumer - A Consumer that accepts a ApiName.Builder.RequestOverrideConfig build()
SdkRequestOverrideConfig with the properties set on this builder.SdkRequestOverrideConfig.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.