T - Type of items ingested by this sinkpublic static final class KinesisSinks.Builder<T> extends Object
| Modifier and Type | Method and Description | 
|---|---|
Sink<T> | 
build()
Construct the sink based on the options provided so far. 
 | 
KinesisSinks.Builder<T> | 
withCredentials(String accessKey,
               String secretKey)
Specifies the AWS credentials to use for authentication
 purposes. 
 | 
KinesisSinks.Builder<T> | 
withEndpoint(String endpoint)
Specifies the AWS Kinesis endpoint (URL of the entry point
 for the AWS web service) to connect to. 
 | 
KinesisSinks.Builder<T> | 
withRegion(String region)
Specifies the AWS Region (collection of AWS resources in a
 geographic area) to connect to. 
 | 
KinesisSinks.Builder<T> | 
withRetryStrategy(RetryStrategy retryStrategy)
Specifies how the source should behave when reading data from
 the stream fails. 
 | 
@Nonnull public KinesisSinks.Builder<T> withEndpoint(@Nullable String endpoint)
protocol://service-code.region-code.amazonaws.com",
 so for example, for Kinesis, for the us-west-2
 region, we could have
 "https://dynamodb.us-west-2.amazonaws.com". For local
 testing, it might be "http://localhost:4566".
 
 If not specified (or specified as null), the default
 endpoint for the specified region will be used.
@Nonnull public KinesisSinks.Builder<T> withRegion(@Nullable String region)
us-west-1", "eu-central-1" and so on.
 
 If not specified (or specified as null), the default
 region set via external means will be used (either from your
 local .aws/config file or the AWS_REGION
 environment variable). If no such default is set, then
 "us-east-1" will be used.
@Nonnull public KinesisSinks.Builder<T> withCredentials(@Nullable String accessKey, @Nullable String secretKey)
 If not specified (or specified as null), then keys
 specified via external means will be used. This can mean the
 local .aws/credentials file or the
 AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
 environmental variables.
 
Either both keys must be set to non-null values or neither.
@Nonnull public KinesisSinks.Builder<T> withRetryStrategy(@Nonnull RetryStrategy retryStrategy)
Copyright © 2022 Hazelcast, Inc.. All rights reserved.