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

com.google.api.services.compute.model.SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig Maven / Gradle / Ivy

/*
 * 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.compute.model;

/**
 * Configuration options for Adaptive Protection auto-deploy feature.
 *
 * 

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 Compute Engine 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 SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig extends com.google.api.client.json.GenericJson { /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Float confidenceThreshold; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer expirationSec; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Float impactedBaselineThreshold; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Float loadThreshold; /** * @return value or {@code null} for none */ public java.lang.Float getConfidenceThreshold() { return confidenceThreshold; } /** * @param confidenceThreshold confidenceThreshold or {@code null} for none */ public SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig setConfidenceThreshold(java.lang.Float confidenceThreshold) { this.confidenceThreshold = confidenceThreshold; return this; } /** * @return value or {@code null} for none */ public java.lang.Integer getExpirationSec() { return expirationSec; } /** * @param expirationSec expirationSec or {@code null} for none */ public SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig setExpirationSec(java.lang.Integer expirationSec) { this.expirationSec = expirationSec; return this; } /** * @return value or {@code null} for none */ public java.lang.Float getImpactedBaselineThreshold() { return impactedBaselineThreshold; } /** * @param impactedBaselineThreshold impactedBaselineThreshold or {@code null} for none */ public SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig setImpactedBaselineThreshold(java.lang.Float impactedBaselineThreshold) { this.impactedBaselineThreshold = impactedBaselineThreshold; return this; } /** * @return value or {@code null} for none */ public java.lang.Float getLoadThreshold() { return loadThreshold; } /** * @param loadThreshold loadThreshold or {@code null} for none */ public SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig setLoadThreshold(java.lang.Float loadThreshold) { this.loadThreshold = loadThreshold; return this; } @Override public SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig set(String fieldName, Object value) { return (SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) super.set(fieldName, value); } @Override public SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig clone() { return (SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy