com.google.api.services.integrations.v1alpha.model.GoogleCloudConnectorsV1AuthConfigSshPublicKey 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.integrations.v1alpha.model;
/**
* Parameters to support Ssh public key Authentication.
*
* 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 Application Integration 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 GoogleCloudConnectorsV1AuthConfigSshPublicKey extends com.google.api.client.json.GenericJson {
/**
* Format of SSH Client cert.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String certType;
/**
* SSH Client Cert. It should contain both public and private key.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudConnectorsV1Secret sshClientCert;
/**
* Password (passphrase) for ssh client certificate if it has one.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudConnectorsV1Secret sshClientCertPass;
/**
* The user account used to authenticate.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String username;
/**
* Format of SSH Client cert.
* @return value or {@code null} for none
*/
public java.lang.String getCertType() {
return certType;
}
/**
* Format of SSH Client cert.
* @param certType certType or {@code null} for none
*/
public GoogleCloudConnectorsV1AuthConfigSshPublicKey setCertType(java.lang.String certType) {
this.certType = certType;
return this;
}
/**
* SSH Client Cert. It should contain both public and private key.
* @return value or {@code null} for none
*/
public GoogleCloudConnectorsV1Secret getSshClientCert() {
return sshClientCert;
}
/**
* SSH Client Cert. It should contain both public and private key.
* @param sshClientCert sshClientCert or {@code null} for none
*/
public GoogleCloudConnectorsV1AuthConfigSshPublicKey setSshClientCert(GoogleCloudConnectorsV1Secret sshClientCert) {
this.sshClientCert = sshClientCert;
return this;
}
/**
* Password (passphrase) for ssh client certificate if it has one.
* @return value or {@code null} for none
*/
public GoogleCloudConnectorsV1Secret getSshClientCertPass() {
return sshClientCertPass;
}
/**
* Password (passphrase) for ssh client certificate if it has one.
* @param sshClientCertPass sshClientCertPass or {@code null} for none
*/
public GoogleCloudConnectorsV1AuthConfigSshPublicKey setSshClientCertPass(GoogleCloudConnectorsV1Secret sshClientCertPass) {
this.sshClientCertPass = sshClientCertPass;
return this;
}
/**
* The user account used to authenticate.
* @return value or {@code null} for none
*/
public java.lang.String getUsername() {
return username;
}
/**
* The user account used to authenticate.
* @param username username or {@code null} for none
*/
public GoogleCloudConnectorsV1AuthConfigSshPublicKey setUsername(java.lang.String username) {
this.username = username;
return this;
}
@Override
public GoogleCloudConnectorsV1AuthConfigSshPublicKey set(String fieldName, Object value) {
return (GoogleCloudConnectorsV1AuthConfigSshPublicKey) super.set(fieldName, value);
}
@Override
public GoogleCloudConnectorsV1AuthConfigSshPublicKey clone() {
return (GoogleCloudConnectorsV1AuthConfigSshPublicKey) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy