
com.google.api.services.file.v1.model.GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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/google/apis-client-generator/
* (build: 2018-10-08 17:45:39 UTC)
* on 2019-04-19 at 06:56:13 UTC
* Modify at your own risk.
*/
package com.google.api.services.file.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 Filestore 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 {
/**
* List of SLO exclusion windows. When multiple entries in the list match (matching the exclusion
* time-window against current time point) the exclusion reason used in the first matching entry
* will be published.
*
* It is not needed to include expired exclusion in this list, as only the currently applicable
* exclusions are taken into account by the eligibility exporting subsystem (the historical state
* of exclusions will be reflected in the historically produced timeseries regardless of the
* current state).
*
* This field can be used to mark the instance as temporary ineligible for the purpose of SLO
* calculation. For permanent instance SLO exclusion, a dedicated tier name can be used that does
* not have targets specified in the service SLO configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List exclusions;
/**
* 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;
/**
* List of SLO exclusion windows. When multiple entries in the list match (matching the exclusion
* time-window against current time point) the exclusion reason used in the first matching entry
* will be published.
*
* It is not needed to include expired exclusion in this list, as only the currently applicable
* exclusions are taken into account by the eligibility exporting subsystem (the historical state
* of exclusions will be reflected in the historically produced timeseries regardless of the
* current state).
*
* This field can be used to mark the instance as temporary ineligible for the purpose of SLO
* calculation. For permanent instance SLO exclusion, a dedicated tier name can be used that does
* not have targets specified in the service SLO configuration.
* @return value or {@code null} for none
*/
public java.util.List getExclusions() {
return exclusions;
}
/**
* List of SLO exclusion windows. When multiple entries in the list match (matching the exclusion
* time-window against current time point) the exclusion reason used in the first matching entry
* will be published.
*
* It is not needed to include expired exclusion in this list, as only the currently applicable
* exclusions are taken into account by the eligibility exporting subsystem (the historical state
* of exclusions will be reflected in the historically produced timeseries regardless of the
* current state).
*
* This field can be used to mark the instance as temporary ineligible for the purpose of SLO
* calculation. For permanent instance SLO exclusion, a dedicated tier name can be used that does
* not have targets specified in the service SLO configuration.
* @param exclusions exclusions or {@code null} for none
*/
public GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata setExclusions(java.util.List exclusions) {
this.exclusions = exclusions;
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 - 2025 Weber Informatics LLC | Privacy Policy