All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.securitycenter.v1.model.EventThreatDetectionCustomModule Maven / Gradle / Ivy

There is a newer version: v1-rev20241111-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.securitycenter.v1.model;

/**
 * Represents an instance of an Event Threat Detection custom module, including its full module
 * name, display name, enablement state, and last updated time. You can create a custom module at
 * the organization, folder, or project level. Custom modules that you create at the organization or
 * folder level are inherited by child folders and projects.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Security Command Center API. For a detailed * explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class EventThreatDetectionCustomModule extends com.google.api.client.json.GenericJson { /** * Output only. The closest ancestor module that this module inherits the enablement state from. * The format is the same as the EventThreatDetectionCustomModule resource name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String ancestorModule; /** * Config for the module. For the resident module, its config value is defined at this level. For * the inherited module, its config value is inherited from the ancestor module. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map config; /** * The description for the module. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * The human readable name to be displayed for the module. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String displayName; /** * The state of enablement for the module at the given level of the hierarchy. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String enablementState; /** * Output only. The editor the module was last updated by. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String lastEditor; /** * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Type for the module. e.g. CONFIGURABLE_BAD_IP. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * Output only. The time the module was last updated. * The value may be {@code null}. */ @com.google.api.client.util.Key private String updateTime; /** * Output only. The closest ancestor module that this module inherits the enablement state from. * The format is the same as the EventThreatDetectionCustomModule resource name. * @return value or {@code null} for none */ public java.lang.String getAncestorModule() { return ancestorModule; } /** * Output only. The closest ancestor module that this module inherits the enablement state from. * The format is the same as the EventThreatDetectionCustomModule resource name. * @param ancestorModule ancestorModule or {@code null} for none */ public EventThreatDetectionCustomModule setAncestorModule(java.lang.String ancestorModule) { this.ancestorModule = ancestorModule; return this; } /** * Config for the module. For the resident module, its config value is defined at this level. For * the inherited module, its config value is inherited from the ancestor module. * @return value or {@code null} for none */ public java.util.Map getConfig() { return config; } /** * Config for the module. For the resident module, its config value is defined at this level. For * the inherited module, its config value is inherited from the ancestor module. * @param config config or {@code null} for none */ public EventThreatDetectionCustomModule setConfig(java.util.Map config) { this.config = config; return this; } /** * The description for the module. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * The description for the module. * @param description description or {@code null} for none */ public EventThreatDetectionCustomModule setDescription(java.lang.String description) { this.description = description; return this; } /** * The human readable name to be displayed for the module. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { return displayName; } /** * The human readable name to be displayed for the module. * @param displayName displayName or {@code null} for none */ public EventThreatDetectionCustomModule setDisplayName(java.lang.String displayName) { this.displayName = displayName; return this; } /** * The state of enablement for the module at the given level of the hierarchy. * @return value or {@code null} for none */ public java.lang.String getEnablementState() { return enablementState; } /** * The state of enablement for the module at the given level of the hierarchy. * @param enablementState enablementState or {@code null} for none */ public EventThreatDetectionCustomModule setEnablementState(java.lang.String enablementState) { this.enablementState = enablementState; return this; } /** * Output only. The editor the module was last updated by. * @return value or {@code null} for none */ public java.lang.String getLastEditor() { return lastEditor; } /** * Output only. The editor the module was last updated by. * @param lastEditor lastEditor or {@code null} for none */ public EventThreatDetectionCustomModule setLastEditor(java.lang.String lastEditor) { this.lastEditor = lastEditor; return this; } /** * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`. * @param name name or {@code null} for none */ public EventThreatDetectionCustomModule setName(java.lang.String name) { this.name = name; return this; } /** * Type for the module. e.g. CONFIGURABLE_BAD_IP. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * Type for the module. e.g. CONFIGURABLE_BAD_IP. * @param type type or {@code null} for none */ public EventThreatDetectionCustomModule setType(java.lang.String type) { this.type = type; return this; } /** * Output only. The time the module was last updated. * @return value or {@code null} for none */ public String getUpdateTime() { return updateTime; } /** * Output only. The time the module was last updated. * @param updateTime updateTime or {@code null} for none */ public EventThreatDetectionCustomModule setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } @Override public EventThreatDetectionCustomModule set(String fieldName, Object value) { return (EventThreatDetectionCustomModule) super.set(fieldName, value); } @Override public EventThreatDetectionCustomModule clone() { return (EventThreatDetectionCustomModule) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy