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()  | 
String | 
getConnectionPreference()  | 
List<ServiceAttachmentConsumerForwardingRule> | 
getConsumerForwardingRules()
An array of forwarding rules for all the consumers connected to this service attachment. 
 | 
String | 
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
String | 
getDescription()
An optional description 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. 
 | 
String | 
getRegion()
[Output Only] URL of the region where the service attachment resides. 
 | 
String | 
getSelfLink()
[Output Only] Server-defined URL for the resource. 
 | 
ServiceAttachment | 
set(String fieldName,
   Object value)  | 
ServiceAttachment | 
setConnectionPreference(String connectionPreference)  | 
ServiceAttachment | 
setConsumerForwardingRules(List<ServiceAttachmentConsumerForwardingRule> consumerForwardingRules)
An array of forwarding rules for all the consumers connected 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 | 
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 | 
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. 
 | 
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 String getConnectionPreference()
null for nonepublic ServiceAttachment setConnectionPreference(String connectionPreference)
connectionPreference - connectionPreference or null for nonepublic List<ServiceAttachmentConsumerForwardingRule> getConsumerForwardingRules()
null for nonepublic ServiceAttachment setConsumerForwardingRules(List<ServiceAttachmentConsumerForwardingRule> consumerForwardingRules)
consumerForwardingRules - consumerForwardingRules 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 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 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 ServiceAttachment set(String fieldName, Object value)
set in class GenericJsonpublic ServiceAttachment clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.