Interface UpdateMonitoringRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMonitoringRequest.Builder,
,UpdateMonitoringRequest> KafkaRequest.Builder
,SdkBuilder<UpdateMonitoringRequest.Builder,
,UpdateMonitoringRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateMonitoringRequest
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn
(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.currentVersion
(String currentVersion) The version of the MSK cluster to update.enhancedMonitoring
(String enhancedMonitoring) Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.enhancedMonitoring
(EnhancedMonitoring enhancedMonitoring) Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.default UpdateMonitoringRequest.Builder
loggingInfo
(Consumer<LoggingInfo.Builder> loggingInfo) Sets the value of the LoggingInfo property for this object.loggingInfo
(LoggingInfo loggingInfo) Sets the value of the LoggingInfo property for this object.default UpdateMonitoringRequest.Builder
openMonitoring
(Consumer<OpenMonitoringInfo.Builder> openMonitoring) The settings for open monitoring.openMonitoring
(OpenMonitoringInfo openMonitoring) The settings for open monitoring.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaRequest.Builder
build
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
-
clusterArn
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Parameters:
clusterArn
-The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
- Parameters:
currentVersion
-The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enhancedMonitoring
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- Parameters:
enhancedMonitoring
-Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enhancedMonitoring
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- Parameters:
enhancedMonitoring
-Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openMonitoring
The settings for open monitoring.
- Parameters:
openMonitoring
-The settings for open monitoring.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openMonitoring
default UpdateMonitoringRequest.Builder openMonitoring(Consumer<OpenMonitoringInfo.Builder> openMonitoring) The settings for open monitoring.
This is a convenience method that creates an instance of theOpenMonitoringInfo.Builder
avoiding the need to create one manually viaOpenMonitoringInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenMonitoring(OpenMonitoringInfo)
.- Parameters:
openMonitoring
- a consumer that will call methods onOpenMonitoringInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loggingInfo
Sets the value of the LoggingInfo property for this object.- Parameters:
loggingInfo
- The new value for the LoggingInfo property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingInfo
Sets the value of the LoggingInfo property for this object. This is a convenience method that creates an instance of theLoggingInfo.Builder
avoiding the need to create one manually viaLoggingInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingInfo(LoggingInfo)
.- Parameters:
loggingInfo
- a consumer that will call methods onLoggingInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMonitoringRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMonitoringRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-