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

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

/**
 * A resource that represents the background job that imports asset frames.
 *
 * 

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 ImportJob extends com.google.api.client.json.GenericJson { /** * Required. Reference to a source. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String assetSource; /** * Output only. The timestamp when the import job was completed. * The value may be {@code null}. */ @com.google.api.client.util.Key private String completeTime; /** * Output only. The timestamp when the import job was created. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Optional. User-friendly display name. Maximum length is 256 characters. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String displayName; /** * Output only. The report with the results of running the import job. * The value may be {@code null}. */ @com.google.api.client.util.Key private ExecutionReport executionReport; /** * Labels as key value pairs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map labels; /** * Output only. The full name of the import job. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Output only. The state of the import job. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String state; /** * Output only. The timestamp when the import job was last updated. * The value may be {@code null}. */ @com.google.api.client.util.Key private String updateTime; /** * Output only. The report with the validation results of the import job. * The value may be {@code null}. */ @com.google.api.client.util.Key private ValidationReport validationReport; /** * Required. Reference to a source. * @return value or {@code null} for none */ public java.lang.String getAssetSource() { return assetSource; } /** * Required. Reference to a source. * @param assetSource assetSource or {@code null} for none */ public ImportJob setAssetSource(java.lang.String assetSource) { this.assetSource = assetSource; return this; } /** * Output only. The timestamp when the import job was completed. * @return value or {@code null} for none */ public String getCompleteTime() { return completeTime; } /** * Output only. The timestamp when the import job was completed. * @param completeTime completeTime or {@code null} for none */ public ImportJob setCompleteTime(String completeTime) { this.completeTime = completeTime; return this; } /** * Output only. The timestamp when the import job was created. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. The timestamp when the import job was created. * @param createTime createTime or {@code null} for none */ public ImportJob setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Optional. User-friendly display name. Maximum length is 256 characters. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { return displayName; } /** * Optional. User-friendly display name. Maximum length is 256 characters. * @param displayName displayName or {@code null} for none */ public ImportJob setDisplayName(java.lang.String displayName) { this.displayName = displayName; return this; } /** * Output only. The report with the results of running the import job. * @return value or {@code null} for none */ public ExecutionReport getExecutionReport() { return executionReport; } /** * Output only. The report with the results of running the import job. * @param executionReport executionReport or {@code null} for none */ public ImportJob setExecutionReport(ExecutionReport executionReport) { this.executionReport = executionReport; 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 ImportJob setLabels(java.util.Map labels) { this.labels = labels; return this; } /** * Output only. The full name of the import job. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Output only. The full name of the import job. * @param name name or {@code null} for none */ public ImportJob setName(java.lang.String name) { this.name = name; return this; } /** * Output only. The state of the import job. * @return value or {@code null} for none */ public java.lang.String getState() { return state; } /** * Output only. The state of the import job. * @param state state or {@code null} for none */ public ImportJob setState(java.lang.String state) { this.state = state; return this; } /** * Output only. The timestamp when the import job was last updated. * @return value or {@code null} for none */ public String getUpdateTime() { return updateTime; } /** * Output only. The timestamp when the import job was last updated. * @param updateTime updateTime or {@code null} for none */ public ImportJob setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } /** * Output only. The report with the validation results of the import job. * @return value or {@code null} for none */ public ValidationReport getValidationReport() { return validationReport; } /** * Output only. The report with the validation results of the import job. * @param validationReport validationReport or {@code null} for none */ public ImportJob setValidationReport(ValidationReport validationReport) { this.validationReport = validationReport; return this; } @Override public ImportJob set(String fieldName, Object value) { return (ImportJob) super.set(fieldName, value); } @Override public ImportJob clone() { return (ImportJob) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy