public final class TenancyUnit 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 Service Consumer Management API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TenancyUnit() |
Modifier and Type | Method and Description |
---|---|
TenancyUnit |
clone() |
String |
getConsumer()
Output only.
|
String |
getCreateTime()
Output only.
|
String |
getName()
Globally unique identifier of this tenancy unit "services/{service}/{collection id}/{resource
id}/tenancyUnits/{unit}"
|
String |
getService()
Output only.
|
List<TenantResource> |
getTenantResources()
Resources constituting the tenancy unit.
|
TenancyUnit |
set(String fieldName,
Object value) |
TenancyUnit |
setConsumer(String consumer)
Output only.
|
TenancyUnit |
setCreateTime(String createTime)
Output only.
|
TenancyUnit |
setName(String name)
Globally unique identifier of this tenancy unit "services/{service}/{collection id}/{resource
id}/tenancyUnits/{unit}"
|
TenancyUnit |
setService(String service)
Output only.
|
TenancyUnit |
setTenantResources(List<TenantResource> tenantResources)
Resources constituting the tenancy unit.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getConsumer()
null
for nonepublic TenancyUnit setConsumer(String consumer)
consumer
- consumer or null
for nonepublic String getCreateTime()
null
for nonepublic TenancyUnit setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getName()
null
for nonepublic TenancyUnit setName(String name)
name
- name or null
for nonepublic String getService()
null
for nonepublic TenancyUnit setService(String service)
service
- service or null
for nonepublic List<TenantResource> getTenantResources()
null
for nonepublic TenancyUnit setTenantResources(List<TenantResource> tenantResources)
tenantResources
- tenantResources or null
for nonepublic TenancyUnit set(String fieldName, Object value)
set
in class GenericJson
public TenancyUnit clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.