Class KafkaAuditLoggingConfiguration
java.lang.Object
com.exoscale.sdk.model.KafkaAuditLoggingConfiguration
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class KafkaAuditLoggingConfiguration
extends Object
Enable Kafka audit logging by providing this object. Removing it disables the feature. Enabling, updating, or disabling audit logging causes a rolling restart of all Kafka brokers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGroup audit log entries by user or by user and IP address.static enumuser_operations records individual Kafka API calls (produce, fetch, etc.). -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationPeriodSec(Integer aggregationPeriodSec) booleanReturn true if this Kafka_audit_logging_configuration object is equal to o.Aggregation period in seconds over which audit log entries are batched before being emitted.Group audit log entries by user or by user and IP address.Whether to include denied authorization attempts in the audit log.user_operations records individual Kafka API calls (produce, fetch, etc.).inthashCode()includeDenials(Boolean includeDenials) voidsetAggregationPeriodSec(Integer aggregationPeriodSec) voidvoidsetIncludeDenials(Boolean includeDenials) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_RECORD_TYPE
- See Also:
-
JSON_PROPERTY_AGGREGATION_PERIOD_SEC
- See Also:
-
JSON_PROPERTY_INCLUDE_DENIALS
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
-
Constructor Details
-
KafkaAuditLoggingConfiguration
public KafkaAuditLoggingConfiguration()
-
-
Method Details
-
recordType
public KafkaAuditLoggingConfiguration recordType(KafkaAuditLoggingConfiguration.RecordTypeEnum recordType) -
getRecordType
user_operations records individual Kafka API calls (produce, fetch, etc.). user_activity records higher-level user actions.- Returns:
- recordType
-
setRecordType
-
aggregationPeriodSec
-
getAggregationPeriodSec
Aggregation period in seconds over which audit log entries are batched before being emitted. minimum: 1 maximum: 1800- Returns:
- aggregationPeriodSec
-
setAggregationPeriodSec
-
includeDenials
-
getIncludeDenials
Whether to include denied authorization attempts in the audit log.- Returns:
- includeDenials
-
setIncludeDenials
-
groupBy
-
getGroupBy
Group audit log entries by user or by user and IP address. Only valid when record_type is user_operations.- Returns:
- groupBy
-
setGroupBy
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-