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

com.google.api.services.migrationcenter.v1.model.AssetFrame Maven / Gradle / Ivy

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

/**
 * Contains data reported from an inventory source on an asset.
 *
 * 

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 Migration 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 AssetFrame extends com.google.api.client.json.GenericJson { /** * Generic asset attributes. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map attributes; /** * Optional. Frame collection type, if not specified the collection type will be based on the * source type of the source the frame was reported on. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String collectionType; /** * Labels as key value pairs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map labels; /** * Asset information specific for virtual machines. * The value may be {@code null}. */ @com.google.api.client.util.Key private MachineDetails machineDetails; /** * Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow * are ignored. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List performanceSamples; /** * The time the data was reported. * The value may be {@code null}. */ @com.google.api.client.util.Key private String reportTime; /** * Optional. Trace token is optionally provided to assist with debugging and traceability. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String traceToken; /** * Generic asset attributes. * @return value or {@code null} for none */ public java.util.Map getAttributes() { return attributes; } /** * Generic asset attributes. * @param attributes attributes or {@code null} for none */ public AssetFrame setAttributes(java.util.Map attributes) { this.attributes = attributes; return this; } /** * Optional. Frame collection type, if not specified the collection type will be based on the * source type of the source the frame was reported on. * @return value or {@code null} for none */ public java.lang.String getCollectionType() { return collectionType; } /** * Optional. Frame collection type, if not specified the collection type will be based on the * source type of the source the frame was reported on. * @param collectionType collectionType or {@code null} for none */ public AssetFrame setCollectionType(java.lang.String collectionType) { this.collectionType = collectionType; return this; } /** * Labels as key value pairs. * @return value or {@code null} for none */ public java.util.Map getLabels() { return labels; } /** * Labels as key value pairs. * @param labels labels or {@code null} for none */ public AssetFrame setLabels(java.util.Map labels) { this.labels = labels; return this; } /** * Asset information specific for virtual machines. * @return value or {@code null} for none */ public MachineDetails getMachineDetails() { return machineDetails; } /** * Asset information specific for virtual machines. * @param machineDetails machineDetails or {@code null} for none */ public AssetFrame setMachineDetails(MachineDetails machineDetails) { this.machineDetails = machineDetails; return this; } /** * Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow * are ignored. * @return value or {@code null} for none */ public java.util.List getPerformanceSamples() { return performanceSamples; } /** * Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow * are ignored. * @param performanceSamples performanceSamples or {@code null} for none */ public AssetFrame setPerformanceSamples(java.util.List performanceSamples) { this.performanceSamples = performanceSamples; return this; } /** * The time the data was reported. * @return value or {@code null} for none */ public String getReportTime() { return reportTime; } /** * The time the data was reported. * @param reportTime reportTime or {@code null} for none */ public AssetFrame setReportTime(String reportTime) { this.reportTime = reportTime; return this; } /** * Optional. Trace token is optionally provided to assist with debugging and traceability. * @return value or {@code null} for none */ public java.lang.String getTraceToken() { return traceToken; } /** * Optional. Trace token is optionally provided to assist with debugging and traceability. * @param traceToken traceToken or {@code null} for none */ public AssetFrame setTraceToken(java.lang.String traceToken) { this.traceToken = traceToken; return this; } @Override public AssetFrame set(String fieldName, Object value) { return (AssetFrame) super.set(fieldName, value); } @Override public AssetFrame clone() { return (AssetFrame) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy