com.google.api.services.backupdr.v1.model.AssetLocation 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.backupdr.v1.model;
/**
* Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines
* the location on its behalf.
*
* 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 Backup and DR Service 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 AssetLocation extends com.google.api.client.json.GenericJson {
/**
* Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS
* for storing resource metadata.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String ccfeRmsPath;
/**
* Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at
* the time of asset creation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private IsolationExpectations expected;
/**
* Defines extra parameters required for specific asset types.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List extraParameters;
/**
* Contains all kinds of physical location definitions for this asset.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List locationData;
/**
* Defines parents assets if any in order to allow later generation of child_asset_location data
* via child assets.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List parentAsset;
/**
* Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS
* for storing resource metadata.
* @return value or {@code null} for none
*/
public java.lang.String getCcfeRmsPath() {
return ccfeRmsPath;
}
/**
* Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS
* for storing resource metadata.
* @param ccfeRmsPath ccfeRmsPath or {@code null} for none
*/
public AssetLocation setCcfeRmsPath(java.lang.String ccfeRmsPath) {
this.ccfeRmsPath = ccfeRmsPath;
return this;
}
/**
* Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at
* the time of asset creation.
* @return value or {@code null} for none
*/
public IsolationExpectations getExpected() {
return expected;
}
/**
* Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at
* the time of asset creation.
* @param expected expected or {@code null} for none
*/
public AssetLocation setExpected(IsolationExpectations expected) {
this.expected = expected;
return this;
}
/**
* Defines extra parameters required for specific asset types.
* @return value or {@code null} for none
*/
public java.util.List getExtraParameters() {
return extraParameters;
}
/**
* Defines extra parameters required for specific asset types.
* @param extraParameters extraParameters or {@code null} for none
*/
public AssetLocation setExtraParameters(java.util.List extraParameters) {
this.extraParameters = extraParameters;
return this;
}
/**
* Contains all kinds of physical location definitions for this asset.
* @return value or {@code null} for none
*/
public java.util.List getLocationData() {
return locationData;
}
/**
* Contains all kinds of physical location definitions for this asset.
* @param locationData locationData or {@code null} for none
*/
public AssetLocation setLocationData(java.util.List locationData) {
this.locationData = locationData;
return this;
}
/**
* Defines parents assets if any in order to allow later generation of child_asset_location data
* via child assets.
* @return value or {@code null} for none
*/
public java.util.List getParentAsset() {
return parentAsset;
}
/**
* Defines parents assets if any in order to allow later generation of child_asset_location data
* via child assets.
* @param parentAsset parentAsset or {@code null} for none
*/
public AssetLocation setParentAsset(java.util.List parentAsset) {
this.parentAsset = parentAsset;
return this;
}
@Override
public AssetLocation set(String fieldName, Object value) {
return (AssetLocation) super.set(fieldName, value);
}
@Override
public AssetLocation clone() {
return (AssetLocation) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy