Interface MSKSourceConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MSKSourceConfiguration.Builder,MSKSourceConfiguration>,SdkBuilder<MSKSourceConfiguration.Builder,MSKSourceConfiguration>,SdkPojo
- Enclosing class:
- MSKSourceConfiguration
public static interface MSKSourceConfiguration.Builder extends SdkPojo, CopyableBuilder<MSKSourceConfiguration.Builder,MSKSourceConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MSKSourceConfiguration.BuilderauthenticationConfiguration(Consumer<AuthenticationConfiguration.Builder> authenticationConfiguration)The authentication configuration of the Amazon MSK cluster.MSKSourceConfiguration.BuilderauthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)The authentication configuration of the Amazon MSK cluster.MSKSourceConfiguration.BuildermskClusterARN(String mskClusterARN)The ARN of the Amazon MSK cluster.MSKSourceConfiguration.BuildertopicName(String topicName)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 Detail
-
mskClusterARN
MSKSourceConfiguration.Builder mskClusterARN(String 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
MSKSourceConfiguration.Builder topicName(String 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
MSKSourceConfiguration.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 MSKSourceConfiguration.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.Builderavoiding the need to create one manually viaAuthenticationConfiguration.builder().When the
Consumercompletes,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:
authenticationConfiguration(AuthenticationConfiguration)
-
-