public static interface ContextDataType.Builder extends SdkPojo, CopyableBuilder<ContextDataType.Builder,ContextDataType>
| Modifier and Type | Method and Description |
|---|---|
ContextDataType.Builder |
encodedData(String encodedData)
Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection
library.
|
ContextDataType.Builder |
httpHeaders(Collection<HttpHeader> httpHeaders)
HttpHeaders received on your server in same order.
|
ContextDataType.Builder |
httpHeaders(Consumer<HttpHeader.Builder>... httpHeaders)
HttpHeaders received on your server in same order.
|
ContextDataType.Builder |
httpHeaders(HttpHeader... httpHeaders)
HttpHeaders received on your server in same order.
|
ContextDataType.Builder |
ipAddress(String ipAddress)
The source IP address of your user's device.
|
ContextDataType.Builder |
serverName(String serverName)
Your server endpoint where this API is invoked.
|
ContextDataType.Builder |
serverPath(String serverPath)
Your server path where this API is invoked.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContextDataType.Builder ipAddress(String ipAddress)
The source IP address of your user's device.
ipAddress - The source IP address of your user's device.ContextDataType.Builder serverName(String serverName)
Your server endpoint where this API is invoked.
serverName - Your server endpoint where this API is invoked.ContextDataType.Builder serverPath(String serverPath)
Your server path where this API is invoked.
serverPath - Your server path where this API is invoked.ContextDataType.Builder httpHeaders(Collection<HttpHeader> httpHeaders)
HttpHeaders received on your server in same order.
httpHeaders - HttpHeaders received on your server in same order.ContextDataType.Builder httpHeaders(HttpHeader... httpHeaders)
HttpHeaders received on your server in same order.
httpHeaders - HttpHeaders received on your server in same order.ContextDataType.Builder httpHeaders(Consumer<HttpHeader.Builder>... httpHeaders)
HttpHeaders received on your server in same order.
This is a convenience method that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #httpHeaders(List) .httpHeaders - a consumer that will call methods on List.Builder #httpHeaders(List) ContextDataType.Builder encodedData(String encodedData)
Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library. For more information, see Adding user device and session data to API requests.
encodedData - Encoded device-fingerprint details that your app collected with the Amazon Cognito context data
collection library. For more information, see Adding user device and session data to API requests.Copyright © 2022. All rights reserved.