Interface AwsMskClusterDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsMskClusterDetails.Builder,,AwsMskClusterDetails> SdkBuilder<AwsMskClusterDetails.Builder,,AwsMskClusterDetails> SdkPojo
- Enclosing class:
AwsMskClusterDetails
public static interface AwsMskClusterDetails.Builder
extends SdkPojo, CopyableBuilder<AwsMskClusterDetails.Builder,AwsMskClusterDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AwsMskClusterDetails.BuilderclusterInfo(Consumer<AwsMskClusterClusterInfoDetails.Builder> clusterInfo) Provides information about a cluster.clusterInfo(AwsMskClusterClusterInfoDetails clusterInfo) Provides information about a cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterInfo
Provides information about a cluster.
- Parameters:
clusterInfo- Provides information about a cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterInfo
default AwsMskClusterDetails.Builder clusterInfo(Consumer<AwsMskClusterClusterInfoDetails.Builder> clusterInfo) Provides information about a cluster.
This is a convenience method that creates an instance of theAwsMskClusterClusterInfoDetails.Builderavoiding the need to create one manually viaAwsMskClusterClusterInfoDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterInfo(AwsMskClusterClusterInfoDetails).- Parameters:
clusterInfo- a consumer that will call methods onAwsMskClusterClusterInfoDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-