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

com.google.api.services.migrationcenter.v1.model.Asset 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;

/**
 * An asset represents a resource in your environment. Asset types include virtual machines and
 * databases.
 *
 * 

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 Asset extends com.google.api.client.json.GenericJson { /** * Output only. The list of groups that the asset is assigned to. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List assignedGroups; /** * Generic asset attributes. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map attributes; /** * Output only. The timestamp when the asset was created. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Output only. The list of insights associated with the asset. * The value may be {@code null}. */ @com.google.api.client.util.Key private InsightList insightList; /** * Labels as key value pairs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map labels; /** * Output only. Asset information specific for virtual and physical machines. * The value may be {@code null}. */ @com.google.api.client.util.Key private MachineDetails machineDetails; /** * Output only. The full name of the asset. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Output only. Performance data for the asset. * The value may be {@code null}. */ @com.google.api.client.util.Key private AssetPerformanceData performanceData; /** * Output only. The list of sources contributing to the asset. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List sources; /** * Output only. The timestamp when the asset was last updated. * The value may be {@code null}. */ @com.google.api.client.util.Key private String updateTime; /** * Output only. The list of groups that the asset is assigned to. * @return value or {@code null} for none */ public java.util.List getAssignedGroups() { return assignedGroups; } /** * Output only. The list of groups that the asset is assigned to. * @param assignedGroups assignedGroups or {@code null} for none */ public Asset setAssignedGroups(java.util.List assignedGroups) { this.assignedGroups = assignedGroups; return this; } /** * 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 Asset setAttributes(java.util.Map attributes) { this.attributes = attributes; return this; } /** * Output only. The timestamp when the asset was created. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. The timestamp when the asset was created. * @param createTime createTime or {@code null} for none */ public Asset setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Output only. The list of insights associated with the asset. * @return value or {@code null} for none */ public InsightList getInsightList() { return insightList; } /** * Output only. The list of insights associated with the asset. * @param insightList insightList or {@code null} for none */ public Asset setInsightList(InsightList insightList) { this.insightList = insightList; 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 Asset setLabels(java.util.Map labels) { this.labels = labels; return this; } /** * Output only. Asset information specific for virtual and physical machines. * @return value or {@code null} for none */ public MachineDetails getMachineDetails() { return machineDetails; } /** * Output only. Asset information specific for virtual and physical machines. * @param machineDetails machineDetails or {@code null} for none */ public Asset setMachineDetails(MachineDetails machineDetails) { this.machineDetails = machineDetails; return this; } /** * Output only. The full name of the asset. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Output only. The full name of the asset. * @param name name or {@code null} for none */ public Asset setName(java.lang.String name) { this.name = name; return this; } /** * Output only. Performance data for the asset. * @return value or {@code null} for none */ public AssetPerformanceData getPerformanceData() { return performanceData; } /** * Output only. Performance data for the asset. * @param performanceData performanceData or {@code null} for none */ public Asset setPerformanceData(AssetPerformanceData performanceData) { this.performanceData = performanceData; return this; } /** * Output only. The list of sources contributing to the asset. * @return value or {@code null} for none */ public java.util.List getSources() { return sources; } /** * Output only. The list of sources contributing to the asset. * @param sources sources or {@code null} for none */ public Asset setSources(java.util.List sources) { this.sources = sources; return this; } /** * Output only. The timestamp when the asset was last updated. * @return value or {@code null} for none */ public String getUpdateTime() { return updateTime; } /** * Output only. The timestamp when the asset was last updated. * @param updateTime updateTime or {@code null} for none */ public Asset setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } @Override public Asset set(String fieldName, Object value) { return (Asset) super.set(fieldName, value); } @Override public Asset clone() { return (Asset) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy