public final class ServiceAttachment 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 | 
|---|
| ServiceAttachment() | 
| Modifier and Type | Method and Description | 
|---|---|
| ServiceAttachment | clone() | 
| byte[] | decodeFingerprint()Fingerprint of this resource. | 
| ServiceAttachment | encodeFingerprint(byte[] fingerprint)Fingerprint of this resource. | 
| List<ServiceAttachmentConnectedEndpoint> | getConnectedEndpoints()[Output Only] An array of connections for all the consumers connected to this service
 attachment. | 
| String | getConnectionPreference()The connection preference of service attachment. | 
| List<ServiceAttachmentConsumerProjectLimit> | getConsumerAcceptLists()Projects that are allowed to connect to this service attachment. | 
| List<String> | getConsumerRejectLists()Projects that are not allowed to connect to this service attachment. | 
| String | getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format. | 
| String | getDescription()An optional description of this resource. | 
| List<String> | getDomainNames()If specified, the domain name will be used during the integration between the PSC connected
 endpoints and the Cloud DNS. | 
| Boolean | getEnableProxyProtocol()If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP
 connections that traverse proxies on their way to destination servers. | 
| String | getFingerprint()Fingerprint of this resource. | 
| BigInteger | getId()[Output Only] The unique identifier for the resource type. | 
| String | getKind()[Output Only] Type of the resource. | 
| String | getName()Name of the resource. | 
| List<String> | getNatSubnets()An array of URLs where each entry is the URL of a subnet provided by the service producer to
 use for NAT in this service attachment. | 
| String | getProducerForwardingRule()The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint
 identified by this service attachment. | 
| Uint128 | getPscServiceAttachmentId()[Output Only] An 128-bit global unique ID of the PSC service attachment. | 
| String | getRegion()[Output Only] URL of the region where the service attachment resides. | 
| String | getSelfLink()[Output Only] Server-defined URL for the resource. | 
| String | getTargetService()The URL of a service serving the endpoint identified by this service attachment. | 
| ServiceAttachment | set(String fieldName,
   Object value) | 
| ServiceAttachment | setConnectedEndpoints(List<ServiceAttachmentConnectedEndpoint> connectedEndpoints)[Output Only] An array of connections for all the consumers connected to this service
 attachment. | 
| ServiceAttachment | setConnectionPreference(String connectionPreference)The connection preference of service attachment. | 
| ServiceAttachment | setConsumerAcceptLists(List<ServiceAttachmentConsumerProjectLimit> consumerAcceptLists)Projects that are allowed to connect to this service attachment. | 
| ServiceAttachment | setConsumerRejectLists(List<String> consumerRejectLists)Projects that are not allowed to connect to this service attachment. | 
| ServiceAttachment | setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| ServiceAttachment | setDescription(String description)An optional description of this resource. | 
| ServiceAttachment | setDomainNames(List<String> domainNames)If specified, the domain name will be used during the integration between the PSC connected
 endpoints and the Cloud DNS. | 
| ServiceAttachment | setEnableProxyProtocol(Boolean enableProxyProtocol)If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP
 connections that traverse proxies on their way to destination servers. | 
| ServiceAttachment | setFingerprint(String fingerprint)Fingerprint of this resource. | 
| ServiceAttachment | setId(BigInteger id)[Output Only] The unique identifier for the resource type. | 
| ServiceAttachment | setKind(String kind)[Output Only] Type of the resource. | 
| ServiceAttachment | setName(String name)Name of the resource. | 
| ServiceAttachment | setNatSubnets(List<String> natSubnets)An array of URLs where each entry is the URL of a subnet provided by the service producer to
 use for NAT in this service attachment. | 
| ServiceAttachment | setProducerForwardingRule(String producerForwardingRule)The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint
 identified by this service attachment. | 
| ServiceAttachment | setPscServiceAttachmentId(Uint128 pscServiceAttachmentId)[Output Only] An 128-bit global unique ID of the PSC service attachment. | 
| ServiceAttachment | setRegion(String region)[Output Only] URL of the region where the service attachment resides. | 
| ServiceAttachment | setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| ServiceAttachment | setTargetService(String targetService)The URL of a service serving the endpoint identified by this service attachment. | 
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<ServiceAttachmentConnectedEndpoint> getConnectedEndpoints()
null for nonepublic ServiceAttachment setConnectedEndpoints(List<ServiceAttachmentConnectedEndpoint> connectedEndpoints)
connectedEndpoints - connectedEndpoints or null for nonepublic String getConnectionPreference()
null for nonepublic ServiceAttachment setConnectionPreference(String connectionPreference)
connectionPreference - connectionPreference or null for nonepublic List<ServiceAttachmentConsumerProjectLimit> getConsumerAcceptLists()
null for nonepublic ServiceAttachment setConsumerAcceptLists(List<ServiceAttachmentConsumerProjectLimit> consumerAcceptLists)
consumerAcceptLists - consumerAcceptLists or null for nonepublic List<String> getConsumerRejectLists()
null for nonepublic ServiceAttachment setConsumerRejectLists(List<String> consumerRejectLists)
consumerRejectLists - consumerRejectLists or null for nonepublic String getCreationTimestamp()
null for nonepublic ServiceAttachment setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic ServiceAttachment setDescription(String description)
description - description or null for nonepublic List<String> getDomainNames()
null for nonepublic ServiceAttachment setDomainNames(List<String> domainNames)
domainNames - domainNames or null for nonepublic Boolean getEnableProxyProtocol()
null for nonepublic ServiceAttachment setEnableProxyProtocol(Boolean enableProxyProtocol)
enableProxyProtocol - enableProxyProtocol or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public ServiceAttachment setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public ServiceAttachment encodeFingerprint(byte[] fingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public BigInteger getId()
null for nonepublic ServiceAttachment setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic ServiceAttachment setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic ServiceAttachment setName(String name)
name - name or null for nonepublic List<String> getNatSubnets()
null for nonepublic ServiceAttachment setNatSubnets(List<String> natSubnets)
natSubnets - natSubnets or null for nonepublic String getProducerForwardingRule()
null for nonepublic ServiceAttachment setProducerForwardingRule(String producerForwardingRule)
producerForwardingRule - producerForwardingRule or null for nonepublic Uint128 getPscServiceAttachmentId()
null for nonepublic ServiceAttachment setPscServiceAttachmentId(Uint128 pscServiceAttachmentId)
pscServiceAttachmentId - pscServiceAttachmentId or null for nonepublic String getRegion()
null for nonepublic ServiceAttachment setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic ServiceAttachment setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getTargetService()
null for nonepublic ServiceAttachment setTargetService(String targetService)
targetService - targetService or null for nonepublic ServiceAttachment set(String fieldName, Object value)
set in class GenericJsonpublic ServiceAttachment clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.