Class UpdateMonitoringRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.kafka.model.KafkaRequest
-
- software.amazon.awssdk.services.kafka.model.UpdateMonitoringRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateMonitoringRequest.Builder,UpdateMonitoringRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateMonitoringRequest extends KafkaRequest implements ToCopyableBuilder<UpdateMonitoringRequest.Builder,UpdateMonitoringRequest>
Request body for UpdateMonitoring.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateMonitoringRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateMonitoringRequest.Builder
builder()
String
clusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.String
currentVersion()
The version of the MSK cluster to update.EnhancedMonitoring
enhancedMonitoring()
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.String
enhancedMonitoringAsString()
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
LoggingInfo
loggingInfo()
Returns the value of the LoggingInfo property for this object.OpenMonitoringInfo
openMonitoring()
The settings for open monitoring.List<SdkField<?>>
sdkFields()
static Class<? extends UpdateMonitoringRequest.Builder>
serializableBuilderClass()
UpdateMonitoringRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clusterArn
public final String clusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Returns:
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
-
currentVersion
public final 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.
- Returns:
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.
-
enhancedMonitoring
public final EnhancedMonitoring enhancedMonitoring()
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
If the service returns an enum value that is not available in the current SDK version,
enhancedMonitoring
will returnEnhancedMonitoring.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromenhancedMonitoringAsString()
.- Returns:
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- See Also:
EnhancedMonitoring
-
enhancedMonitoringAsString
public final String enhancedMonitoringAsString()
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
If the service returns an enum value that is not available in the current SDK version,
enhancedMonitoring
will returnEnhancedMonitoring.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromenhancedMonitoringAsString()
.- Returns:
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- See Also:
EnhancedMonitoring
-
openMonitoring
public final OpenMonitoringInfo openMonitoring()
The settings for open monitoring.
- Returns:
The settings for open monitoring.
-
loggingInfo
public final LoggingInfo loggingInfo()
Returns the value of the LoggingInfo property for this object.- Returns:
- The value of the LoggingInfo property for this object.
-
toBuilder
public UpdateMonitoringRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateMonitoringRequest.Builder,UpdateMonitoringRequest>
- Specified by:
toBuilder
in classKafkaRequest
-
builder
public static UpdateMonitoringRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateMonitoringRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-