Interface MSKSourceDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MSKSourceDescription.Builder,
,MSKSourceDescription> SdkBuilder<MSKSourceDescription.Builder,
,MSKSourceDescription> SdkPojo
- Enclosing class:
MSKSourceDescription
-
Method Summary
Modifier and TypeMethodDescriptiondefault MSKSourceDescription.Builder
authenticationConfiguration
(Consumer<AuthenticationConfiguration.Builder> authenticationConfiguration) The authentication configuration of the Amazon MSK cluster.authenticationConfiguration
(AuthenticationConfiguration authenticationConfiguration) The authentication configuration of the Amazon MSK cluster.deliveryStartTimestamp
(Instant deliveryStartTimestamp) Firehose starts retrieving records from the topic within the Amazon MSK cluster starting with this timestamp.mskClusterARN
(String mskClusterARN) The ARN of the Amazon MSK cluster.readFromTimestamp
(Instant readFromTimestamp) The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read.The topic name within the Amazon MSK cluster.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 Details
-
mskClusterARN
The ARN of the Amazon MSK cluster.
- Parameters:
mskClusterARN
- The ARN of the Amazon MSK cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicName
The topic name within the Amazon MSK cluster.
- Parameters:
topicName
- The topic name within the Amazon MSK cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationConfiguration
MSKSourceDescription.Builder authenticationConfiguration(AuthenticationConfiguration authenticationConfiguration) The authentication configuration of the Amazon MSK cluster.
- Parameters:
authenticationConfiguration
- The authentication configuration of the Amazon MSK cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationConfiguration
default MSKSourceDescription.Builder authenticationConfiguration(Consumer<AuthenticationConfiguration.Builder> authenticationConfiguration) The authentication configuration of the Amazon MSK cluster.
This is a convenience method that creates an instance of theAuthenticationConfiguration.Builder
avoiding the need to create one manually viaAuthenticationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthenticationConfiguration(AuthenticationConfiguration)
.- Parameters:
authenticationConfiguration
- a consumer that will call methods onAuthenticationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deliveryStartTimestamp
Firehose starts retrieving records from the topic within the Amazon MSK cluster starting with this timestamp.
- Parameters:
deliveryStartTimestamp
- Firehose starts retrieving records from the topic within the Amazon MSK cluster starting with this timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readFromTimestamp
The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read. By default, this is set to timestamp when Firehose becomes Active.
If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the
ReadFromTimestampUTC
parameter to Epoch (1970-01-01T00:00:00Z).- Parameters:
readFromTimestamp
- The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read. By default, this is set to timestamp when Firehose becomes Active.If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the
ReadFromTimestampUTC
parameter to Epoch (1970-01-01T00:00:00Z).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-