Interface PipeSourceSelfManagedKafkaParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PipeSourceSelfManagedKafkaParameters.Builder,
,PipeSourceSelfManagedKafkaParameters> SdkBuilder<PipeSourceSelfManagedKafkaParameters.Builder,
,PipeSourceSelfManagedKafkaParameters> SdkPojo
- Enclosing class:
PipeSourceSelfManagedKafkaParameters
-
Method Summary
Modifier and TypeMethodDescriptionadditionalBootstrapServers
(String... additionalBootstrapServers) An array of server URLs.additionalBootstrapServers
(Collection<String> additionalBootstrapServers) An array of server URLs.The maximum number of records to include in each batch.consumerGroupID
(String consumerGroupID) The name of the destination queue to consume.The credentials needed to access the resource.The credentials needed to access the resource.maximumBatchingWindowInSeconds
(Integer maximumBatchingWindowInSeconds) The maximum length of a time to wait for events.serverRootCaCertificate
(String serverRootCaCertificate) The ARN of the Secrets Manager secret used for certification.startingPosition
(String startingPosition) The position in a stream from which to start reading.startingPosition
(SelfManagedKafkaStartPosition startingPosition) The position in a stream from which to start reading.The name of the topic that the pipe will read from.This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.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 Details
-
topicName
The name of the topic that the pipe will read from.
- Parameters:
topicName
- The name of the topic that the pipe will read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startingPosition
The position in a stream from which to start reading.
- Parameters:
startingPosition
- The position in a stream from which to start reading.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startingPosition
PipeSourceSelfManagedKafkaParameters.Builder startingPosition(SelfManagedKafkaStartPosition startingPosition) The position in a stream from which to start reading.
- Parameters:
startingPosition
- The position in a stream from which to start reading.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalBootstrapServers
PipeSourceSelfManagedKafkaParameters.Builder additionalBootstrapServers(Collection<String> additionalBootstrapServers) An array of server URLs.
- Parameters:
additionalBootstrapServers
- An array of server URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalBootstrapServers
PipeSourceSelfManagedKafkaParameters.Builder additionalBootstrapServers(String... additionalBootstrapServers) An array of server URLs.
- Parameters:
additionalBootstrapServers
- An array of server URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchSize
The maximum number of records to include in each batch.
- Parameters:
batchSize
- The maximum number of records to include in each batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumBatchingWindowInSeconds
PipeSourceSelfManagedKafkaParameters.Builder maximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds) The maximum length of a time to wait for events.
- Parameters:
maximumBatchingWindowInSeconds
- The maximum length of a time to wait for events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerGroupID
The name of the destination queue to consume.
- Parameters:
consumerGroupID
- The name of the destination queue to consume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
PipeSourceSelfManagedKafkaParameters.Builder credentials(SelfManagedKafkaAccessConfigurationCredentials credentials) The credentials needed to access the resource.
- Parameters:
credentials
- The credentials needed to access the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
default PipeSourceSelfManagedKafkaParameters.Builder credentials(Consumer<SelfManagedKafkaAccessConfigurationCredentials.Builder> credentials) The credentials needed to access the resource.
This is a convenience method that creates an instance of theSelfManagedKafkaAccessConfigurationCredentials.Builder
avoiding the need to create one manually viaSelfManagedKafkaAccessConfigurationCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentials(SelfManagedKafkaAccessConfigurationCredentials)
.- Parameters:
credentials
- a consumer that will call methods onSelfManagedKafkaAccessConfigurationCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverRootCaCertificate
PipeSourceSelfManagedKafkaParameters.Builder serverRootCaCertificate(String serverRootCaCertificate) The ARN of the Secrets Manager secret used for certification.
- Parameters:
serverRootCaCertificate
- The ARN of the Secrets Manager secret used for certification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
- Parameters:
vpc
- This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
default PipeSourceSelfManagedKafkaParameters.Builder vpc(Consumer<SelfManagedKafkaAccessConfigurationVpc.Builder> vpc) This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
This is a convenience method that creates an instance of theSelfManagedKafkaAccessConfigurationVpc.Builder
avoiding the need to create one manually viaSelfManagedKafkaAccessConfigurationVpc.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpc(SelfManagedKafkaAccessConfigurationVpc)
.- Parameters:
vpc
- a consumer that will call methods onSelfManagedKafkaAccessConfigurationVpc.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-