com.google.api.services.managedidentities.v1beta1.model.Backup 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.managedidentities.v1beta1.model;
/**
* Represents a Managed Microsoft Identities backup.
*
* 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 Managed Service for Microsoft Active Directory 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 Backup extends com.google.api.client.json.GenericJson {
/**
* Output only. The time the backups was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* Optional. A short description of the backup.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;
/**
* Optional. Resource labels to represent user provided metadata.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map labels;
/**
* Output only. The unique name of the Backup in the form of
* projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Output only. The current state of the backup.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String state;
/**
* Output only. Additional information about the current status of this backup, if available.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String statusMessage;
/**
* Output only. Indicates whether it’s an on-demand backup or scheduled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String type;
/**
* Output only. Last update time.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;
/**
* Output only. The time the backups was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* Output only. The time the backups was created.
* @param createTime createTime or {@code null} for none
*/
public Backup setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Optional. A short description of the backup.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}
/**
* Optional. A short description of the backup.
* @param description description or {@code null} for none
*/
public Backup setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* Optional. Resource labels to represent user provided metadata.
* @return value or {@code null} for none
*/
public java.util.Map getLabels() {
return labels;
}
/**
* Optional. Resource labels to represent user provided metadata.
* @param labels labels or {@code null} for none
*/
public Backup setLabels(java.util.Map labels) {
this.labels = labels;
return this;
}
/**
* Output only. The unique name of the Backup in the form of
* projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Output only. The unique name of the Backup in the form of
* projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}
* @param name name or {@code null} for none
*/
public Backup setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Output only. The current state of the backup.
* @return value or {@code null} for none
*/
public java.lang.String getState() {
return state;
}
/**
* Output only. The current state of the backup.
* @param state state or {@code null} for none
*/
public Backup setState(java.lang.String state) {
this.state = state;
return this;
}
/**
* Output only. Additional information about the current status of this backup, if available.
* @return value or {@code null} for none
*/
public java.lang.String getStatusMessage() {
return statusMessage;
}
/**
* Output only. Additional information about the current status of this backup, if available.
* @param statusMessage statusMessage or {@code null} for none
*/
public Backup setStatusMessage(java.lang.String statusMessage) {
this.statusMessage = statusMessage;
return this;
}
/**
* Output only. Indicates whether it’s an on-demand backup or scheduled.
* @return value or {@code null} for none
*/
public java.lang.String getType() {
return type;
}
/**
* Output only. Indicates whether it’s an on-demand backup or scheduled.
* @param type type or {@code null} for none
*/
public Backup setType(java.lang.String type) {
this.type = type;
return this;
}
/**
* Output only. Last update time.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}
/**
* Output only. Last update time.
* @param updateTime updateTime or {@code null} for none
*/
public Backup setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
@Override
public Backup set(String fieldName, Object value) {
return (Backup) super.set(fieldName, value);
}
@Override
public Backup clone() {
return (Backup) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy