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 interfaceUpdateMonitoringRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateMonitoringRequest.Builderbuilder()StringclusterArn()The Amazon Resource Name (ARN) that uniquely identifies the cluster.StringcurrentVersion()The version of the MSK cluster to update.EnhancedMonitoringenhancedMonitoring()Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.StringenhancedMonitoringAsString()Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LoggingInfologgingInfo()Returns the value of the LoggingInfo property for this object.OpenMonitoringInfoopenMonitoring()The settings for open monitoring.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateMonitoringRequest.Builder>serializableBuilderClass()UpdateMonitoringRequest.BuildertoBuilder()StringtoString()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,
enhancedMonitoringwill 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,
enhancedMonitoringwill 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:
toBuilderin interfaceToCopyableBuilder<UpdateMonitoringRequest.Builder,UpdateMonitoringRequest>- Specified by:
toBuilderin classKafkaRequest
-
builder
public static UpdateMonitoringRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateMonitoringRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-