Class ClusterConfigurationInfo.Builder
java.lang.Object
software.amazon.awscdk.services.msk.alpha.ClusterConfigurationInfo.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterConfigurationInfo>
- Enclosing interface:
ClusterConfigurationInfo
@Stability(Experimental)
public static final class ClusterConfigurationInfo.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterConfigurationInfo>
A builder for
ClusterConfigurationInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofClusterConfigurationInfo.getArn()
build()
Builds the configured instance.Sets the value ofClusterConfigurationInfo.getRevision()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofClusterConfigurationInfo.getArn()
- Parameters:
arn
- The Amazon Resource Name (ARN) of the MSK configuration to use. This parameter is required. For example, arn:aws:kafka:us-east-1:123456789012:configuration/example-configuration-name/abcdabcd-1234-abcd-1234-abcd123e8e8e-1.- Returns:
this
-
revision
Sets the value ofClusterConfigurationInfo.getRevision()
- Parameters:
revision
- The revision of the Amazon MSK configuration to use. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ClusterConfigurationInfo>
- Returns:
- a new instance of
ClusterConfigurationInfo
- Throws:
NullPointerException
- if any required attribute was not provided
-