public final class SslPolicy extends 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
| Modifier and Type | Class and Description |
|---|---|
static class |
SslPolicy.Warnings
Model definition for SslPolicyWarnings.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SslPolicy() |
| Modifier and Type | Method and Description |
|---|---|
SslPolicy |
clone() |
byte[] |
decodeFingerprint()
Fingerprint of this resource.
|
SslPolicy |
encodeFingerprint(byte[] fingerprint)
Fingerprint of this resource.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
List<String> |
getCustomFeatures()
A list of features enabled when the selected profile is CUSTOM.
|
String |
getDescription()
An optional description of this resource.
|
List<String> |
getEnabledFeatures()
[Output Only] The list of features enabled in the SSL policy.
|
String |
getFingerprint()
Fingerprint of this resource.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output only] Type of the resource.
|
String |
getMinTlsVersion()
The minimum version of SSL protocol that can be used by the clients to establish a connection
with the load balancer.
|
String |
getName()
Name of the resource.
|
String |
getProfile()
Profile specifies the set of SSL features that can be used by the load balancer when
negotiating SSL with clients.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
List<SslPolicy.Warnings> |
getWarnings()
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will
be populated with warning messages.
|
SslPolicy |
set(String fieldName,
Object value) |
SslPolicy |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
SslPolicy |
setCustomFeatures(List<String> customFeatures)
A list of features enabled when the selected profile is CUSTOM.
|
SslPolicy |
setDescription(String description)
An optional description of this resource.
|
SslPolicy |
setEnabledFeatures(List<String> enabledFeatures)
[Output Only] The list of features enabled in the SSL policy.
|
SslPolicy |
setFingerprint(String fingerprint)
Fingerprint of this resource.
|
SslPolicy |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
SslPolicy |
setKind(String kind)
[Output only] Type of the resource.
|
SslPolicy |
setMinTlsVersion(String minTlsVersion)
The minimum version of SSL protocol that can be used by the clients to establish a connection
with the load balancer.
|
SslPolicy |
setName(String name)
Name of the resource.
|
SslPolicy |
setProfile(String profile)
Profile specifies the set of SSL features that can be used by the load balancer when
negotiating SSL with clients.
|
SslPolicy |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
SslPolicy |
setWarnings(List<SslPolicy.Warnings> warnings)
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will
be populated with warning messages.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCreationTimestamp()
null for nonepublic SslPolicy setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic List<String> getCustomFeatures()
null for nonepublic SslPolicy setCustomFeatures(List<String> customFeatures)
customFeatures - customFeatures or null for nonepublic String getDescription()
null for nonepublic SslPolicy setDescription(String description)
description - description or null for nonepublic List<String> getEnabledFeatures()
null for nonepublic SslPolicy setEnabledFeatures(List<String> enabledFeatures)
enabledFeatures - enabledFeatures or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public SslPolicy setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public SslPolicy encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public BigInteger getId()
null for nonepublic SslPolicy setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic SslPolicy setKind(String kind)
kind - kind or null for nonepublic String getMinTlsVersion()
null for nonepublic SslPolicy setMinTlsVersion(String minTlsVersion)
minTlsVersion - minTlsVersion or null for nonepublic String getName()
null for nonepublic SslPolicy setName(String name)
name - name or null for nonepublic String getProfile()
null for nonepublic SslPolicy setProfile(String profile)
profile - profile or null for nonepublic String getSelfLink()
null for nonepublic SslPolicy setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic List<SslPolicy.Warnings> getWarnings()
null for nonepublic SslPolicy setWarnings(List<SslPolicy.Warnings> warnings)
warnings - warnings or null for nonepublic SslPolicy set(String fieldName, Object value)
set in class GenericJsonpublic SslPolicy clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.