com.google.api.services.migrationcenter.v1.model.MigrationInsight 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.migrationcenter.v1.model;
/**
* An insight about potential migrations for 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 MigrationInsight extends com.google.api.client.json.GenericJson {
/**
* Output only. A Google Compute Engine target.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ComputeEngineMigrationTarget computeEngineTarget;
/**
* Output only. Description of how well the asset this insight is associated with fits the
* proposed migration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private FitDescriptor fit;
/**
* Output only. A Google Compute Engine target.
* @return value or {@code null} for none
*/
public ComputeEngineMigrationTarget getComputeEngineTarget() {
return computeEngineTarget;
}
/**
* Output only. A Google Compute Engine target.
* @param computeEngineTarget computeEngineTarget or {@code null} for none
*/
public MigrationInsight setComputeEngineTarget(ComputeEngineMigrationTarget computeEngineTarget) {
this.computeEngineTarget = computeEngineTarget;
return this;
}
/**
* Output only. Description of how well the asset this insight is associated with fits the
* proposed migration.
* @return value or {@code null} for none
*/
public FitDescriptor getFit() {
return fit;
}
/**
* Output only. Description of how well the asset this insight is associated with fits the
* proposed migration.
* @param fit fit or {@code null} for none
*/
public MigrationInsight setFit(FitDescriptor fit) {
this.fit = fit;
return this;
}
@Override
public MigrationInsight set(String fieldName, Object value) {
return (MigrationInsight) super.set(fieldName, value);
}
@Override
public MigrationInsight clone() {
return (MigrationInsight) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy