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.Builder
clusterInfo
(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
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
-
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.Builder
avoiding the need to create one manually viaAwsMskClusterClusterInfoDetails.builder()
.When the
Consumer
completes,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:
-