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

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

/**
 * Contains metadata around the [Workload resource](https://cloud.google.com/assured-
 * workloads/docs/reference/rest/Shared.Types/Workload) in the Assured Workloads API.
 *
 * 

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 Controls Partner 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 Workload extends com.google.api.client.json.GenericJson { /** * Output only. Time the resource was created. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Output only. The name of container folder of the assured workload * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String folder; /** * Output only. Folder id this workload is associated with * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long folderId; /** * Indicates whether a workload is fully onboarded. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean isOnboarded; /** * The project id of the key management project for the workload * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String keyManagementProjectId; /** * The Google Cloud location of the workload * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String location; /** * Identifier. Format: * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Partner associated with this workload. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String partner; /** * Container for workload onboarding steps. * The value may be {@code null}. */ @com.google.api.client.util.Key private WorkloadOnboardingState workloadOnboardingState; /** * Output only. Time the resource was created. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. Time the resource was created. * @param createTime createTime or {@code null} for none */ public Workload setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Output only. The name of container folder of the assured workload * @return value or {@code null} for none */ public java.lang.String getFolder() { return folder; } /** * Output only. The name of container folder of the assured workload * @param folder folder or {@code null} for none */ public Workload setFolder(java.lang.String folder) { this.folder = folder; return this; } /** * Output only. Folder id this workload is associated with * @return value or {@code null} for none */ public java.lang.Long getFolderId() { return folderId; } /** * Output only. Folder id this workload is associated with * @param folderId folderId or {@code null} for none */ public Workload setFolderId(java.lang.Long folderId) { this.folderId = folderId; return this; } /** * Indicates whether a workload is fully onboarded. * @return value or {@code null} for none */ public java.lang.Boolean getIsOnboarded() { return isOnboarded; } /** * Indicates whether a workload is fully onboarded. * @param isOnboarded isOnboarded or {@code null} for none */ public Workload setIsOnboarded(java.lang.Boolean isOnboarded) { this.isOnboarded = isOnboarded; return this; } /** * The project id of the key management project for the workload * @return value or {@code null} for none */ public java.lang.String getKeyManagementProjectId() { return keyManagementProjectId; } /** * The project id of the key management project for the workload * @param keyManagementProjectId keyManagementProjectId or {@code null} for none */ public Workload setKeyManagementProjectId(java.lang.String keyManagementProjectId) { this.keyManagementProjectId = keyManagementProjectId; return this; } /** * The Google Cloud location of the workload * @return value or {@code null} for none */ public java.lang.String getLocation() { return location; } /** * The Google Cloud location of the workload * @param location location or {@code null} for none */ public Workload setLocation(java.lang.String location) { this.location = location; return this; } /** * Identifier. Format: * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}` * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Identifier. Format: * `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}` * @param name name or {@code null} for none */ public Workload setName(java.lang.String name) { this.name = name; return this; } /** * Partner associated with this workload. * @return value or {@code null} for none */ public java.lang.String getPartner() { return partner; } /** * Partner associated with this workload. * @param partner partner or {@code null} for none */ public Workload setPartner(java.lang.String partner) { this.partner = partner; return this; } /** * Container for workload onboarding steps. * @return value or {@code null} for none */ public WorkloadOnboardingState getWorkloadOnboardingState() { return workloadOnboardingState; } /** * Container for workload onboarding steps. * @param workloadOnboardingState workloadOnboardingState or {@code null} for none */ public Workload setWorkloadOnboardingState(WorkloadOnboardingState workloadOnboardingState) { this.workloadOnboardingState = workloadOnboardingState; return this; } @Override public Workload set(String fieldName, Object value) { return (Workload) super.set(fieldName, value); } @Override public Workload clone() { return (Workload) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy