com.google.api.services.cloudasset.v1.model.OsInfo 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.cloudasset.v1.model;
/**
* Operating system information for the VM.
*
* 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 Asset 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 OsInfo extends com.google.api.client.json.GenericJson {
/**
* The system architecture of the operating system.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String architecture;
/**
* The VM hostname.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String hostname;
/**
* The kernel release of the operating system.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kernelRelease;
/**
* The kernel version of the operating system.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kernelVersion;
/**
* The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server
* 2019 Datacenter'.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String longName;
/**
* The current version of the OS Config agent running on the VM.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String osconfigAgentVersion;
/**
* The operating system short name. For example, 'windows' or 'debian'.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String shortName;
/**
* The version of the operating system.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String version;
/**
* The system architecture of the operating system.
* @return value or {@code null} for none
*/
public java.lang.String getArchitecture() {
return architecture;
}
/**
* The system architecture of the operating system.
* @param architecture architecture or {@code null} for none
*/
public OsInfo setArchitecture(java.lang.String architecture) {
this.architecture = architecture;
return this;
}
/**
* The VM hostname.
* @return value or {@code null} for none
*/
public java.lang.String getHostname() {
return hostname;
}
/**
* The VM hostname.
* @param hostname hostname or {@code null} for none
*/
public OsInfo setHostname(java.lang.String hostname) {
this.hostname = hostname;
return this;
}
/**
* The kernel release of the operating system.
* @return value or {@code null} for none
*/
public java.lang.String getKernelRelease() {
return kernelRelease;
}
/**
* The kernel release of the operating system.
* @param kernelRelease kernelRelease or {@code null} for none
*/
public OsInfo setKernelRelease(java.lang.String kernelRelease) {
this.kernelRelease = kernelRelease;
return this;
}
/**
* The kernel version of the operating system.
* @return value or {@code null} for none
*/
public java.lang.String getKernelVersion() {
return kernelVersion;
}
/**
* The kernel version of the operating system.
* @param kernelVersion kernelVersion or {@code null} for none
*/
public OsInfo setKernelVersion(java.lang.String kernelVersion) {
this.kernelVersion = kernelVersion;
return this;
}
/**
* The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server
* 2019 Datacenter'.
* @return value or {@code null} for none
*/
public java.lang.String getLongName() {
return longName;
}
/**
* The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server
* 2019 Datacenter'.
* @param longName longName or {@code null} for none
*/
public OsInfo setLongName(java.lang.String longName) {
this.longName = longName;
return this;
}
/**
* The current version of the OS Config agent running on the VM.
* @return value or {@code null} for none
*/
public java.lang.String getOsconfigAgentVersion() {
return osconfigAgentVersion;
}
/**
* The current version of the OS Config agent running on the VM.
* @param osconfigAgentVersion osconfigAgentVersion or {@code null} for none
*/
public OsInfo setOsconfigAgentVersion(java.lang.String osconfigAgentVersion) {
this.osconfigAgentVersion = osconfigAgentVersion;
return this;
}
/**
* The operating system short name. For example, 'windows' or 'debian'.
* @return value or {@code null} for none
*/
public java.lang.String getShortName() {
return shortName;
}
/**
* The operating system short name. For example, 'windows' or 'debian'.
* @param shortName shortName or {@code null} for none
*/
public OsInfo setShortName(java.lang.String shortName) {
this.shortName = shortName;
return this;
}
/**
* The version of the operating system.
* @return value or {@code null} for none
*/
public java.lang.String getVersion() {
return version;
}
/**
* The version of the operating system.
* @param version version or {@code null} for none
*/
public OsInfo setVersion(java.lang.String version) {
this.version = version;
return this;
}
@Override
public OsInfo set(String fieldName, Object value) {
return (OsInfo) super.set(fieldName, value);
}
@Override
public OsInfo clone() {
return (OsInfo) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy