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)The HTTP headers from your user's authentication request.ContextDataType.BuilderhttpHeaders(Consumer<HttpHeader.Builder>... httpHeaders)The HTTP headers from your user's authentication request.ContextDataType.BuilderhttpHeaders(HttpHeader... httpHeaders)The HTTP headers from your user's authentication request.ContextDataType.BuilderipAddress(String ipAddress)The source IP address of your user's device.ContextDataType.BuilderserverName(String serverName)The name of your application's service endpoint.ContextDataType.BuilderserverPath(String serverPath)The path of your application's service endpoint.-
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, sdkFieldNameToField, 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)
The name of your application's service endpoint.
- Parameters:
serverName- The name of your application's service endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverPath
ContextDataType.Builder serverPath(String serverPath)
The path of your application's service endpoint.
- Parameters:
serverPath- The path of your application's service endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpHeaders
ContextDataType.Builder httpHeaders(Collection<HttpHeader> httpHeaders)
The HTTP headers from your user's authentication request.
- Parameters:
httpHeaders- The HTTP headers from your user's authentication request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpHeaders
ContextDataType.Builder httpHeaders(HttpHeader... httpHeaders)
The HTTP headers from your user's authentication request.
- Parameters:
httpHeaders- The HTTP headers from your user's authentication request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpHeaders
ContextDataType.Builder httpHeaders(Consumer<HttpHeader.Builder>... httpHeaders)
The HTTP headers from your user's authentication request.
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.
-
-