com.google.api.services.backupdr.v1.model.ManagementServer 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;
/**
* ManagementServer describes a single BackupDR ManagementServer instance.
*
* 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 ManagementServer extends com.google.api.client.json.GenericJson {
/**
* Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to
* BA proxy.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List baProxyUri;
/**
* Output only. The time when the instance was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* Optional. The description of the ManagementServer instance (2048 characters or less).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;
/**
* Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous
* updates from overwiting each other.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String etag;
/**
* Optional. Resource labels to represent user provided metadata. Labels currently defined: 1.
* migrate_from_go= If set to true, the MS is created in migration ready mode.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map labels;
/**
* Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to
* connect to AGM/RD graphical user interface and APIs.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ManagementURI managementUri;
/**
* Output only. Identifier. The resource name.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Required. VPC networks to which the ManagementServer instance is connected. For this version,
* only a single network is supported.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List networks;
/**
* Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API
* of this ManagementServer. This is the value that should be provided in the 'aud' field of the
* OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-
* core-1_0.html#IDToken).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String oauth2ClientId;
/**
* Output only. Reserved for future use.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean satisfiesPzi;
/**
* Output only. Reserved for future use.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean satisfiesPzs;
/**
* Output only. The ManagementServer state.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String state;
/**
* Optional. The type of the ManagementServer resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String type;
/**
* Output only. The time when the instance was updated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;
/**
* Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p,
* used to connect AGM/RM UI.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private WorkforceIdentityBasedManagementURI workforceIdentityBasedManagementUri;
/**
* Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private WorkforceIdentityBasedOAuth2ClientID workforceIdentityBasedOauth2ClientId;
/**
* Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to
* BA proxy.
* @return value or {@code null} for none
*/
public java.util.List getBaProxyUri() {
return baProxyUri;
}
/**
* Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to
* BA proxy.
* @param baProxyUri baProxyUri or {@code null} for none
*/
public ManagementServer setBaProxyUri(java.util.List baProxyUri) {
this.baProxyUri = baProxyUri;
return this;
}
/**
* Output only. The time when the instance was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* Output only. The time when the instance was created.
* @param createTime createTime or {@code null} for none
*/
public ManagementServer setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Optional. The description of the ManagementServer instance (2048 characters or less).
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}
/**
* Optional. The description of the ManagementServer instance (2048 characters or less).
* @param description description or {@code null} for none
*/
public ManagementServer setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous
* updates from overwiting each other.
* @return value or {@code null} for none
*/
public java.lang.String getEtag() {
return etag;
}
/**
* Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous
* updates from overwiting each other.
* @param etag etag or {@code null} for none
*/
public ManagementServer setEtag(java.lang.String etag) {
this.etag = etag;
return this;
}
/**
* Optional. Resource labels to represent user provided metadata. Labels currently defined: 1.
* migrate_from_go= If set to true, the MS is created in migration ready mode.
* @return value or {@code null} for none
*/
public java.util.Map getLabels() {
return labels;
}
/**
* Optional. Resource labels to represent user provided metadata. Labels currently defined: 1.
* migrate_from_go= If set to true, the MS is created in migration ready mode.
* @param labels labels or {@code null} for none
*/
public ManagementServer setLabels(java.util.Map labels) {
this.labels = labels;
return this;
}
/**
* Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to
* connect to AGM/RD graphical user interface and APIs.
* @return value or {@code null} for none
*/
public ManagementURI getManagementUri() {
return managementUri;
}
/**
* Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to
* connect to AGM/RD graphical user interface and APIs.
* @param managementUri managementUri or {@code null} for none
*/
public ManagementServer setManagementUri(ManagementURI managementUri) {
this.managementUri = managementUri;
return this;
}
/**
* Output only. Identifier. The resource name.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Output only. Identifier. The resource name.
* @param name name or {@code null} for none
*/
public ManagementServer setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Required. VPC networks to which the ManagementServer instance is connected. For this version,
* only a single network is supported.
* @return value or {@code null} for none
*/
public java.util.List getNetworks() {
return networks;
}
/**
* Required. VPC networks to which the ManagementServer instance is connected. For this version,
* only a single network is supported.
* @param networks networks or {@code null} for none
*/
public ManagementServer setNetworks(java.util.List networks) {
this.networks = networks;
return this;
}
/**
* Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API
* of this ManagementServer. This is the value that should be provided in the 'aud' field of the
* OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-
* core-1_0.html#IDToken).
* @return value or {@code null} for none
*/
public java.lang.String getOauth2ClientId() {
return oauth2ClientId;
}
/**
* Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API
* of this ManagementServer. This is the value that should be provided in the 'aud' field of the
* OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-
* core-1_0.html#IDToken).
* @param oauth2ClientId oauth2ClientId or {@code null} for none
*/
public ManagementServer setOauth2ClientId(java.lang.String oauth2ClientId) {
this.oauth2ClientId = oauth2ClientId;
return this;
}
/**
* Output only. Reserved for future use.
* @return value or {@code null} for none
*/
public java.lang.Boolean getSatisfiesPzi() {
return satisfiesPzi;
}
/**
* Output only. Reserved for future use.
* @param satisfiesPzi satisfiesPzi or {@code null} for none
*/
public ManagementServer setSatisfiesPzi(java.lang.Boolean satisfiesPzi) {
this.satisfiesPzi = satisfiesPzi;
return this;
}
/**
* Output only. Reserved for future use.
* @return value or {@code null} for none
*/
public java.lang.Boolean getSatisfiesPzs() {
return satisfiesPzs;
}
/**
* Output only. Reserved for future use.
* @param satisfiesPzs satisfiesPzs or {@code null} for none
*/
public ManagementServer setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
this.satisfiesPzs = satisfiesPzs;
return this;
}
/**
* Output only. The ManagementServer state.
* @return value or {@code null} for none
*/
public java.lang.String getState() {
return state;
}
/**
* Output only. The ManagementServer state.
* @param state state or {@code null} for none
*/
public ManagementServer setState(java.lang.String state) {
this.state = state;
return this;
}
/**
* Optional. The type of the ManagementServer resource.
* @return value or {@code null} for none
*/
public java.lang.String getType() {
return type;
}
/**
* Optional. The type of the ManagementServer resource.
* @param type type or {@code null} for none
*/
public ManagementServer setType(java.lang.String type) {
this.type = type;
return this;
}
/**
* Output only. The time when the instance was updated.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}
/**
* Output only. The time when the instance was updated.
* @param updateTime updateTime or {@code null} for none
*/
public ManagementServer setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p,
* used to connect AGM/RM UI.
* @return value or {@code null} for none
*/
public WorkforceIdentityBasedManagementURI getWorkforceIdentityBasedManagementUri() {
return workforceIdentityBasedManagementUri;
}
/**
* Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p,
* used to connect AGM/RM UI.
* @param workforceIdentityBasedManagementUri workforceIdentityBasedManagementUri or {@code null} for none
*/
public ManagementServer setWorkforceIdentityBasedManagementUri(WorkforceIdentityBasedManagementURI workforceIdentityBasedManagementUri) {
this.workforceIdentityBasedManagementUri = workforceIdentityBasedManagementUri;
return this;
}
/**
* Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.
* @return value or {@code null} for none
*/
public WorkforceIdentityBasedOAuth2ClientID getWorkforceIdentityBasedOauth2ClientId() {
return workforceIdentityBasedOauth2ClientId;
}
/**
* Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.
* @param workforceIdentityBasedOauth2ClientId workforceIdentityBasedOauth2ClientId or {@code null} for none
*/
public ManagementServer setWorkforceIdentityBasedOauth2ClientId(WorkforceIdentityBasedOAuth2ClientID workforceIdentityBasedOauth2ClientId) {
this.workforceIdentityBasedOauth2ClientId = workforceIdentityBasedOauth2ClientId;
return this;
}
@Override
public ManagementServer set(String fieldName, Object value) {
return (ManagementServer) super.set(fieldName, value);
}
@Override
public ManagementServer clone() {
return (ManagementServer) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy