com.google.api.services.backupdr.v1.model.BackupApplianceBackupConfig 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;
/**
* BackupApplianceBackupConfig captures the backup configuration for applications that are protected
* by Backup Appliances.
*
* 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 BackupApplianceBackupConfig extends com.google.api.client.json.GenericJson {
/**
* The name of the application.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String applicationName;
/**
* The ID of the backup appliance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long backupApplianceId;
/**
* The name of the backup appliance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String backupApplianceName;
/**
* The name of the host where the application is running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String hostName;
/**
* The ID of the SLA of this application.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long slaId;
/**
* The name of the SLP associated with the application.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String slpName;
/**
* The name of the SLT associated with the application.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sltName;
/**
* The name of the application.
* @return value or {@code null} for none
*/
public java.lang.String getApplicationName() {
return applicationName;
}
/**
* The name of the application.
* @param applicationName applicationName or {@code null} for none
*/
public BackupApplianceBackupConfig setApplicationName(java.lang.String applicationName) {
this.applicationName = applicationName;
return this;
}
/**
* The ID of the backup appliance.
* @return value or {@code null} for none
*/
public java.lang.Long getBackupApplianceId() {
return backupApplianceId;
}
/**
* The ID of the backup appliance.
* @param backupApplianceId backupApplianceId or {@code null} for none
*/
public BackupApplianceBackupConfig setBackupApplianceId(java.lang.Long backupApplianceId) {
this.backupApplianceId = backupApplianceId;
return this;
}
/**
* The name of the backup appliance.
* @return value or {@code null} for none
*/
public java.lang.String getBackupApplianceName() {
return backupApplianceName;
}
/**
* The name of the backup appliance.
* @param backupApplianceName backupApplianceName or {@code null} for none
*/
public BackupApplianceBackupConfig setBackupApplianceName(java.lang.String backupApplianceName) {
this.backupApplianceName = backupApplianceName;
return this;
}
/**
* The name of the host where the application is running.
* @return value or {@code null} for none
*/
public java.lang.String getHostName() {
return hostName;
}
/**
* The name of the host where the application is running.
* @param hostName hostName or {@code null} for none
*/
public BackupApplianceBackupConfig setHostName(java.lang.String hostName) {
this.hostName = hostName;
return this;
}
/**
* The ID of the SLA of this application.
* @return value or {@code null} for none
*/
public java.lang.Long getSlaId() {
return slaId;
}
/**
* The ID of the SLA of this application.
* @param slaId slaId or {@code null} for none
*/
public BackupApplianceBackupConfig setSlaId(java.lang.Long slaId) {
this.slaId = slaId;
return this;
}
/**
* The name of the SLP associated with the application.
* @return value or {@code null} for none
*/
public java.lang.String getSlpName() {
return slpName;
}
/**
* The name of the SLP associated with the application.
* @param slpName slpName or {@code null} for none
*/
public BackupApplianceBackupConfig setSlpName(java.lang.String slpName) {
this.slpName = slpName;
return this;
}
/**
* The name of the SLT associated with the application.
* @return value or {@code null} for none
*/
public java.lang.String getSltName() {
return sltName;
}
/**
* The name of the SLT associated with the application.
* @param sltName sltName or {@code null} for none
*/
public BackupApplianceBackupConfig setSltName(java.lang.String sltName) {
this.sltName = sltName;
return this;
}
@Override
public BackupApplianceBackupConfig set(String fieldName, Object value) {
return (BackupApplianceBackupConfig) super.set(fieldName, value);
}
@Override
public BackupApplianceBackupConfig clone() {
return (BackupApplianceBackupConfig) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy