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

com.google.api.services.memcache.v1.model.GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata Maven / Gradle / Ivy

There is a newer version: v1-rev20241010-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.memcache.v1.model;

/**
 * SloMetadata contains resources required for proper SLO classification of the instance.
 *
 * 

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 Cloud Memorystore for Memcached 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 GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata extends com.google.api.client.json.GenericJson { /** * Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This * field allows such producers to publish per-node SLO meta data, which will be consumed by SSA * Eligibility Exporter and published in the form of per node metric to Monarch. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List nodes; static { // hack to force ProGuard to consider GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata.class); } /** * Optional. Multiple per-instance SLI eligibilities which apply for individual SLIs. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility perSliEligibility; /** * Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers * specified in the service SLO configuration. Field is mandatory and must not be empty. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String tier; /** * Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This * field allows such producers to publish per-node SLO meta data, which will be consumed by SSA * Eligibility Exporter and published in the form of per node metric to Monarch. * @return value or {@code null} for none */ public java.util.List getNodes() { return nodes; } /** * Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This * field allows such producers to publish per-node SLO meta data, which will be consumed by SSA * Eligibility Exporter and published in the form of per node metric to Monarch. * @param nodes nodes or {@code null} for none */ public GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata setNodes(java.util.List nodes) { this.nodes = nodes; return this; } /** * Optional. Multiple per-instance SLI eligibilities which apply for individual SLIs. * @return value or {@code null} for none */ public GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility getPerSliEligibility() { return perSliEligibility; } /** * Optional. Multiple per-instance SLI eligibilities which apply for individual SLIs. * @param perSliEligibility perSliEligibility or {@code null} for none */ public GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata setPerSliEligibility(GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility perSliEligibility) { this.perSliEligibility = perSliEligibility; return this; } /** * Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers * specified in the service SLO configuration. Field is mandatory and must not be empty. * @return value or {@code null} for none */ public java.lang.String getTier() { return tier; } /** * Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers * specified in the service SLO configuration. Field is mandatory and must not be empty. * @param tier tier or {@code null} for none */ public GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata setTier(java.lang.String tier) { this.tier = tier; return this; } @Override public GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata set(String fieldName, Object value) { return (GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata) super.set(fieldName, value); } @Override public GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata clone() { return (GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy