public final class AuthenticationPolicy 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
AuthenticationPolicy()  | 
| Modifier and Type | Method and Description | 
|---|---|
AuthenticationPolicy | 
clone()  | 
List<OriginAuthenticationMethod> | 
getOrigins()
List of authentication methods that can be used for origin authentication. 
 | 
List<PeerAuthenticationMethod> | 
getPeers()
List of authentication methods that can be used for peer authentication. 
 | 
String | 
getPrincipalBinding()
Define whether peer or origin identity should be used for principal. 
 | 
TlsContext | 
getServerTlsContext()
Configures the mechanism to obtain server-side security certificates and identity information. 
 | 
AuthenticationPolicy | 
set(String fieldName,
   Object value)  | 
AuthenticationPolicy | 
setOrigins(List<OriginAuthenticationMethod> origins)
List of authentication methods that can be used for origin authentication. 
 | 
AuthenticationPolicy | 
setPeers(List<PeerAuthenticationMethod> peers)
List of authentication methods that can be used for peer authentication. 
 | 
AuthenticationPolicy | 
setPrincipalBinding(String principalBinding)
Define whether peer or origin identity should be used for principal. 
 | 
AuthenticationPolicy | 
setServerTlsContext(TlsContext serverTlsContext)
Configures the mechanism to obtain server-side security certificates and identity information. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<OriginAuthenticationMethod> getOrigins()
null for nonepublic AuthenticationPolicy setOrigins(List<OriginAuthenticationMethod> origins)
origins - origins or null for nonepublic List<PeerAuthenticationMethod> getPeers()
null for nonepublic AuthenticationPolicy setPeers(List<PeerAuthenticationMethod> peers)
peers - peers or null for nonepublic String getPrincipalBinding()
null for nonepublic AuthenticationPolicy setPrincipalBinding(String principalBinding)
principalBinding - principalBinding or null for nonepublic TlsContext getServerTlsContext()
null for nonepublic AuthenticationPolicy setServerTlsContext(TlsContext serverTlsContext)
serverTlsContext - serverTlsContext or null for nonepublic AuthenticationPolicy set(String fieldName, Object value)
set in class GenericJsonpublic AuthenticationPolicy clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.