target.apidocs.com.google.api.services.sqladmin.model.SslCert.html Maven / Gradle / Ivy
SslCert (Cloud SQL Admin API v1-rev20240925-2.0.0)
com.google.api.services.sqladmin.model
Class SslCert
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sqladmin.model.SslCert
-
public final class SslCert
extends com.google.api.client.json.GenericJson
SslCerts Resource
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 Cloud SQL Admin API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
SslCert()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SslCert
clone()
String
getCert()
PEM representation.
String
getCertSerialNumber()
Serial number, as extracted from the certificate.
String
getCommonName()
User supplied name.
String
getCreateTime()
The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)
format, for example `2012-11-15T16:19:00.094Z`
String
getExpirationTime()
The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339)
format, for example `2012-11-15T16:19:00.094Z`.
String
getInstance()
Name of the database instance.
String
getKind()
This is always `sql#sslCert`.
String
getSelfLink()
The URI of this resource.
String
getSha1Fingerprint()
Sha1 Fingerprint.
SslCert
set(String fieldName,
Object value)
SslCert
setCert(String cert)
PEM representation.
SslCert
setCertSerialNumber(String certSerialNumber)
Serial number, as extracted from the certificate.
SslCert
setCommonName(String commonName)
User supplied name.
SslCert
setCreateTime(String createTime)
The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)
format, for example `2012-11-15T16:19:00.094Z`
SslCert
setExpirationTime(String expirationTime)
The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339)
format, for example `2012-11-15T16:19:00.094Z`.
SslCert
setInstance(String instance)
Name of the database instance.
SslCert
setKind(String kind)
This is always `sql#sslCert`.
SslCert
setSelfLink(String selfLink)
The URI of this resource.
SslCert
setSha1Fingerprint(String sha1Fingerprint)
Sha1 Fingerprint.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCert
public String getCert()
PEM representation.
- Returns:
- value or
null
for none
-
setCert
public SslCert setCert(String cert)
PEM representation.
- Parameters:
cert
- cert or null
for none
-
getCertSerialNumber
public String getCertSerialNumber()
Serial number, as extracted from the certificate.
- Returns:
- value or
null
for none
-
setCertSerialNumber
public SslCert setCertSerialNumber(String certSerialNumber)
Serial number, as extracted from the certificate.
- Parameters:
certSerialNumber
- certSerialNumber or null
for none
-
getCommonName
public String getCommonName()
User supplied name. Constrained to [a-zA-Z.-_ ]+.
- Returns:
- value or
null
for none
-
setCommonName
public SslCert setCommonName(String commonName)
User supplied name. Constrained to [a-zA-Z.-_ ]+.
- Parameters:
commonName
- commonName or null
for none
-
getCreateTime
public String getCreateTime()
The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)
format, for example `2012-11-15T16:19:00.094Z`
- Returns:
- value or
null
for none
-
setCreateTime
public SslCert setCreateTime(String createTime)
The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)
format, for example `2012-11-15T16:19:00.094Z`
- Parameters:
createTime
- createTime or null
for none
-
getExpirationTime
public String getExpirationTime()
The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339)
format, for example `2012-11-15T16:19:00.094Z`.
- Returns:
- value or
null
for none
-
setExpirationTime
public SslCert setExpirationTime(String expirationTime)
The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339)
format, for example `2012-11-15T16:19:00.094Z`.
- Parameters:
expirationTime
- expirationTime or null
for none
-
getInstance
public String getInstance()
Name of the database instance.
- Returns:
- value or
null
for none
-
setInstance
public SslCert setInstance(String instance)
Name of the database instance.
- Parameters:
instance
- instance or null
for none
-
getKind
public String getKind()
This is always `sql#sslCert`.
- Returns:
- value or
null
for none
-
setKind
public SslCert setKind(String kind)
This is always `sql#sslCert`.
- Parameters:
kind
- kind or null
for none
-
getSelfLink
public String getSelfLink()
The URI of this resource.
- Returns:
- value or
null
for none
-
setSelfLink
public SslCert setSelfLink(String selfLink)
The URI of this resource.
- Parameters:
selfLink
- selfLink or null
for none
-
getSha1Fingerprint
public String getSha1Fingerprint()
Sha1 Fingerprint.
- Returns:
- value or
null
for none
-
setSha1Fingerprint
public SslCert setSha1Fingerprint(String sha1Fingerprint)
Sha1 Fingerprint.
- Parameters:
sha1Fingerprint
- sha1Fingerprint or null
for none
-
set
public SslCert set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public SslCert clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.