public final class SslCertificate
extends com.google.api.client.json.GenericJson
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 Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
SslCertificate() |
Modifier and Type | Method and Description |
---|---|
SslCertificate |
clone() |
java.lang.String |
getCertificate()
A local certificate file.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.lang.String |
getExpireTime()
[Output Only] Expire time of the certificate.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
SslCertificateManagedSslCertificate |
getManaged()
Configuration and status of a managed SSL certificate.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.String |
getPrivateKey()
A write-only private key in PEM format.
|
java.lang.String |
getRegion()
[Output Only] URL of the region where the regional SSL Certificate resides.
|
java.lang.String |
getSelfLink()
[Output only] Server-defined URL for the resource.
|
java.lang.String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
SslCertificateSelfManagedSslCertificate |
getSelfManaged()
Configuration and status of a self-managed SSL certificate.
|
java.util.List<java.lang.String> |
getSubjectAlternativeNames()
[Output Only] Domains associated with the certificate via Subject Alternative Name.
|
java.lang.String |
getType()
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".
|
SslCertificate |
set(java.lang.String fieldName,
java.lang.Object value) |
SslCertificate |
setCertificate(java.lang.String certificate)
A local certificate file.
|
SslCertificate |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
SslCertificate |
setDescription(java.lang.String description)
An optional description of this resource.
|
SslCertificate |
setExpireTime(java.lang.String expireTime)
[Output Only] Expire time of the certificate.
|
SslCertificate |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
SslCertificate |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
SslCertificate |
setManaged(SslCertificateManagedSslCertificate managed)
Configuration and status of a managed SSL certificate.
|
SslCertificate |
setName(java.lang.String name)
Name of the resource.
|
SslCertificate |
setPrivateKey(java.lang.String privateKey)
A write-only private key in PEM format.
|
SslCertificate |
setRegion(java.lang.String region)
[Output Only] URL of the region where the regional SSL Certificate resides.
|
SslCertificate |
setSelfLink(java.lang.String selfLink)
[Output only] Server-defined URL for the resource.
|
SslCertificate |
setSelfLinkWithId(java.lang.String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id.
|
SslCertificate |
setSelfManaged(SslCertificateSelfManagedSslCertificate selfManaged)
Configuration and status of a self-managed SSL certificate.
|
SslCertificate |
setSubjectAlternativeNames(java.util.List<java.lang.String> subjectAlternativeNames)
[Output Only] Domains associated with the certificate via Subject Alternative Name.
|
SslCertificate |
setType(java.lang.String type)
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCertificate()
null
for nonepublic SslCertificate setCertificate(java.lang.String certificate)
certificate
- certificate or null
for nonepublic java.lang.String getCreationTimestamp()
null
for nonepublic SslCertificate setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic java.lang.String getDescription()
null
for nonepublic SslCertificate setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getExpireTime()
null
for nonepublic SslCertificate setExpireTime(java.lang.String expireTime)
expireTime
- expireTime or null
for nonepublic java.math.BigInteger getId()
null
for nonepublic SslCertificate setId(java.math.BigInteger id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic SslCertificate setKind(java.lang.String kind)
kind
- kind or null
for nonepublic SslCertificateManagedSslCertificate getManaged()
null
for nonepublic SslCertificate setManaged(SslCertificateManagedSslCertificate managed)
managed
- managed or null
for nonepublic java.lang.String getName()
null
for nonepublic SslCertificate setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getPrivateKey()
null
for nonepublic SslCertificate setPrivateKey(java.lang.String privateKey)
privateKey
- privateKey or null
for nonepublic java.lang.String getRegion()
null
for nonepublic SslCertificate setRegion(java.lang.String region)
region
- region or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic SslCertificate setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.lang.String getSelfLinkWithId()
null
for nonepublic SslCertificate setSelfLinkWithId(java.lang.String selfLinkWithId)
selfLinkWithId
- selfLinkWithId or null
for nonepublic SslCertificateSelfManagedSslCertificate getSelfManaged()
null
for nonepublic SslCertificate setSelfManaged(SslCertificateSelfManagedSslCertificate selfManaged)
selfManaged
- selfManaged or null
for nonepublic java.util.List<java.lang.String> getSubjectAlternativeNames()
null
for nonepublic SslCertificate setSubjectAlternativeNames(java.util.List<java.lang.String> subjectAlternativeNames)
subjectAlternativeNames
- subjectAlternativeNames or null
for nonepublic java.lang.String getType()
null
for nonepublic SslCertificate setType(java.lang.String type)
type
- type or null
for nonepublic SslCertificate set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SslCertificate clone()
clone
in class com.google.api.client.json.GenericJson