com.google.api.services.file.v1.model.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata 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.file.v1.model;
/**
* Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but
* producers can populate per-node information in SloMetadata for custom precomputations. SSA
* Eligibility Exporter will emit per-node metric based on this information.
*
* 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 GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata extends com.google.api.client.json.GenericJson {
/**
* The location of the node, if different from instance location.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String location;
/**
* The id of the node. This should be equal to SaasInstanceNode.node_id.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nodeId;
/**
* If present, this will override eligibility for the node coming from instance or exclusions for
* specified SLIs.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility perSliEligibility;
/**
* The location of the node, if different from instance location.
* @return value or {@code null} for none
*/
public java.lang.String getLocation() {
return location;
}
/**
* The location of the node, if different from instance location.
* @param location location or {@code null} for none
*/
public GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata setLocation(java.lang.String location) {
this.location = location;
return this;
}
/**
* The id of the node. This should be equal to SaasInstanceNode.node_id.
* @return value or {@code null} for none
*/
public java.lang.String getNodeId() {
return nodeId;
}
/**
* The id of the node. This should be equal to SaasInstanceNode.node_id.
* @param nodeId nodeId or {@code null} for none
*/
public GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata setNodeId(java.lang.String nodeId) {
this.nodeId = nodeId;
return this;
}
/**
* If present, this will override eligibility for the node coming from instance or exclusions for
* specified SLIs.
* @return value or {@code null} for none
*/
public GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility getPerSliEligibility() {
return perSliEligibility;
}
/**
* If present, this will override eligibility for the node coming from instance or exclusions for
* specified SLIs.
* @param perSliEligibility perSliEligibility or {@code null} for none
*/
public GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata setPerSliEligibility(GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility perSliEligibility) {
this.perSliEligibility = perSliEligibility;
return this;
}
@Override
public GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata set(String fieldName, Object value) {
return (GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata) super.set(fieldName, value);
}
@Override
public GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata clone() {
return (GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy