Interface ContextDataType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContextDataType.Builder,ContextDataType>,SdkBuilder<ContextDataType.Builder,ContextDataType>,SdkPojo
- Enclosing class:
- ContextDataType
public static interface ContextDataType.Builder extends SdkPojo, CopyableBuilder<ContextDataType.Builder,ContextDataType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextDataType.BuilderencodedData(String encodedData)Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library.ContextDataType.BuilderhttpHeaders(Collection<HttpHeader> httpHeaders)HttpHeaders received on your server in same order.ContextDataType.BuilderhttpHeaders(Consumer<HttpHeader.Builder>... httpHeaders)HttpHeaders received on your server in same order.ContextDataType.BuilderhttpHeaders(HttpHeader... httpHeaders)HttpHeaders received on your server in same order.ContextDataType.BuilderipAddress(String ipAddress)The source IP address of your user's device.ContextDataType.BuilderserverName(String serverName)Your server endpoint where this API is invoked.ContextDataType.BuilderserverPath(String serverPath)Your server path where this API is invoked.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
ipAddress
ContextDataType.Builder ipAddress(String ipAddress)
The source IP address of your user's device.
- Parameters:
ipAddress- The source IP address of your user's device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverName
ContextDataType.Builder serverName(String serverName)
Your server endpoint where this API is invoked.
- Parameters:
serverName- Your server endpoint where this API is invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverPath
ContextDataType.Builder serverPath(String serverPath)
Your server path where this API is invoked.
- Parameters:
serverPath- Your server path where this API is invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpHeaders
ContextDataType.Builder httpHeaders(Collection<HttpHeader> httpHeaders)
HttpHeaders received on your server in same order.
- Parameters:
httpHeaders- HttpHeaders received on your server in same order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpHeaders
ContextDataType.Builder httpHeaders(HttpHeader... httpHeaders)
HttpHeaders received on your server in same order.
- Parameters:
httpHeaders- HttpHeaders received on your server in same order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpHeaders
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 theHttpHeader.Builderavoiding the need to create one manually viaHttpHeader.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#httpHeaders(List.) - Parameters:
httpHeaders- a consumer that will call methods onHttpHeader.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#httpHeaders(java.util.Collection)
-
encodedData
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-