com.google.api.services.migrationcenter.v1.model.PlatformDetails 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;
/**
* Information about the platform.
*
* 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 PlatformDetails extends com.google.api.client.json.GenericJson {
/**
* AWS EC2 specific details.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AwsEc2PlatformDetails awsEc2Details;
/**
* Azure VM specific details.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AzureVmPlatformDetails azureVmDetails;
/**
* Generic platform details.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GenericPlatformDetails genericDetails;
/**
* Physical machines platform details.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private PhysicalPlatformDetails physicalDetails;
/**
* VMware specific details.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private VmwarePlatformDetails vmwareDetails;
/**
* AWS EC2 specific details.
* @return value or {@code null} for none
*/
public AwsEc2PlatformDetails getAwsEc2Details() {
return awsEc2Details;
}
/**
* AWS EC2 specific details.
* @param awsEc2Details awsEc2Details or {@code null} for none
*/
public PlatformDetails setAwsEc2Details(AwsEc2PlatformDetails awsEc2Details) {
this.awsEc2Details = awsEc2Details;
return this;
}
/**
* Azure VM specific details.
* @return value or {@code null} for none
*/
public AzureVmPlatformDetails getAzureVmDetails() {
return azureVmDetails;
}
/**
* Azure VM specific details.
* @param azureVmDetails azureVmDetails or {@code null} for none
*/
public PlatformDetails setAzureVmDetails(AzureVmPlatformDetails azureVmDetails) {
this.azureVmDetails = azureVmDetails;
return this;
}
/**
* Generic platform details.
* @return value or {@code null} for none
*/
public GenericPlatformDetails getGenericDetails() {
return genericDetails;
}
/**
* Generic platform details.
* @param genericDetails genericDetails or {@code null} for none
*/
public PlatformDetails setGenericDetails(GenericPlatformDetails genericDetails) {
this.genericDetails = genericDetails;
return this;
}
/**
* Physical machines platform details.
* @return value or {@code null} for none
*/
public PhysicalPlatformDetails getPhysicalDetails() {
return physicalDetails;
}
/**
* Physical machines platform details.
* @param physicalDetails physicalDetails or {@code null} for none
*/
public PlatformDetails setPhysicalDetails(PhysicalPlatformDetails physicalDetails) {
this.physicalDetails = physicalDetails;
return this;
}
/**
* VMware specific details.
* @return value or {@code null} for none
*/
public VmwarePlatformDetails getVmwareDetails() {
return vmwareDetails;
}
/**
* VMware specific details.
* @param vmwareDetails vmwareDetails or {@code null} for none
*/
public PlatformDetails setVmwareDetails(VmwarePlatformDetails vmwareDetails) {
this.vmwareDetails = vmwareDetails;
return this;
}
@Override
public PlatformDetails set(String fieldName, Object value) {
return (PlatformDetails) super.set(fieldName, value);
}
@Override
public PlatformDetails clone() {
return (PlatformDetails) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy