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

com.google.api.services.securitycenter.v1.model.AttackPathNode 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 one point that an attacker passes through in this attack path.
 *
 * 

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 AttackPathNode extends com.google.api.client.json.GenericJson { /** * The findings associated with this node in the attack path. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List associatedFindings; /** * A list of attack step nodes that exist in this attack path node. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List attackSteps; /** * Human-readable name of this resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String displayName; /** * The name of the resource at this point in the attack path. The format of the name follows the * Cloud Asset Inventory [resource name format](https://cloud.google.com/asset- * inventory/docs/resource-name-format) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String resource; /** * The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset- * types) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String resourceType; /** * Unique id of the attack path node. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String uuid; /** * The findings associated with this node in the attack path. * @return value or {@code null} for none */ public java.util.List getAssociatedFindings() { return associatedFindings; } /** * The findings associated with this node in the attack path. * @param associatedFindings associatedFindings or {@code null} for none */ public AttackPathNode setAssociatedFindings(java.util.List associatedFindings) { this.associatedFindings = associatedFindings; return this; } /** * A list of attack step nodes that exist in this attack path node. * @return value or {@code null} for none */ public java.util.List getAttackSteps() { return attackSteps; } /** * A list of attack step nodes that exist in this attack path node. * @param attackSteps attackSteps or {@code null} for none */ public AttackPathNode setAttackSteps(java.util.List attackSteps) { this.attackSteps = attackSteps; return this; } /** * Human-readable name of this resource. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { return displayName; } /** * Human-readable name of this resource. * @param displayName displayName or {@code null} for none */ public AttackPathNode setDisplayName(java.lang.String displayName) { this.displayName = displayName; return this; } /** * The name of the resource at this point in the attack path. The format of the name follows the * Cloud Asset Inventory [resource name format](https://cloud.google.com/asset- * inventory/docs/resource-name-format) * @return value or {@code null} for none */ public java.lang.String getResource() { return resource; } /** * The name of the resource at this point in the attack path. The format of the name follows the * Cloud Asset Inventory [resource name format](https://cloud.google.com/asset- * inventory/docs/resource-name-format) * @param resource resource or {@code null} for none */ public AttackPathNode setResource(java.lang.String resource) { this.resource = resource; return this; } /** * The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset- * types) * @return value or {@code null} for none */ public java.lang.String getResourceType() { return resourceType; } /** * The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset- * types) * @param resourceType resourceType or {@code null} for none */ public AttackPathNode setResourceType(java.lang.String resourceType) { this.resourceType = resourceType; return this; } /** * Unique id of the attack path node. * @return value or {@code null} for none */ public java.lang.String getUuid() { return uuid; } /** * Unique id of the attack path node. * @param uuid uuid or {@code null} for none */ public AttackPathNode setUuid(java.lang.String uuid) { this.uuid = uuid; return this; } @Override public AttackPathNode set(String fieldName, Object value) { return (AttackPathNode) super.set(fieldName, value); } @Override public AttackPathNode clone() { return (AttackPathNode) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy