Interface UpdateMonitoringRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMonitoringRequest.Builder,UpdateMonitoringRequest>
,KafkaRequest.Builder
,SdkBuilder<UpdateMonitoringRequest.Builder,UpdateMonitoringRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateMonitoringRequest
public static interface UpdateMonitoringRequest.Builder extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<UpdateMonitoringRequest.Builder,UpdateMonitoringRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateMonitoringRequest.Builder
clusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.UpdateMonitoringRequest.Builder
currentVersion(String currentVersion)
The version of the MSK cluster to update.UpdateMonitoringRequest.Builder
enhancedMonitoring(String enhancedMonitoring)
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.UpdateMonitoringRequest.Builder
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.UpdateMonitoringRequest.Builder
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.UpdateMonitoringRequest.Builder
openMonitoring(OpenMonitoringInfo openMonitoring)
The settings for open monitoring.UpdateMonitoringRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateMonitoringRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
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 Detail
-
clusterArn
UpdateMonitoringRequest.Builder clusterArn(String 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
UpdateMonitoringRequest.Builder currentVersion(String 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
UpdateMonitoringRequest.Builder enhancedMonitoring(String 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
,EnhancedMonitoring
-
enhancedMonitoring
UpdateMonitoringRequest.Builder enhancedMonitoring(EnhancedMonitoring 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
,EnhancedMonitoring
-
openMonitoring
UpdateMonitoringRequest.Builder openMonitoring(OpenMonitoringInfo 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:
openMonitoring(OpenMonitoringInfo)
-
loggingInfo
UpdateMonitoringRequest.Builder loggingInfo(LoggingInfo 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
default UpdateMonitoringRequest.Builder loggingInfo(Consumer<LoggingInfo.Builder> 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:
loggingInfo(LoggingInfo)
-
overrideConfiguration
UpdateMonitoringRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateMonitoringRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-