public final class Sku 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 Cloud Billing 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 |
---|
Sku() |
Modifier and Type | Method and Description |
---|---|
Sku |
clone() |
Category |
getCategory()
The category hierarchy of this SKU, purely for organizational purpose.
|
String |
getDescription()
A human readable description of the SKU, has a maximum length of 256 characters.
|
GeoTaxonomy |
getGeoTaxonomy()
The geographic taxonomy for this sku.
|
String |
getName()
The resource name for the SKU.
|
List<PricingInfo> |
getPricingInfo()
A timeline of pricing info for this SKU in chronological order.
|
String |
getServiceProviderName()
Identifies the service provider.
|
List<String> |
getServiceRegions()
List of service regions this SKU is offered at.
|
String |
getSkuId()
The identifier for the SKU.
|
Sku |
set(String fieldName,
Object value) |
Sku |
setCategory(Category category)
The category hierarchy of this SKU, purely for organizational purpose.
|
Sku |
setDescription(String description)
A human readable description of the SKU, has a maximum length of 256 characters.
|
Sku |
setGeoTaxonomy(GeoTaxonomy geoTaxonomy)
The geographic taxonomy for this sku.
|
Sku |
setName(String name)
The resource name for the SKU.
|
Sku |
setPricingInfo(List<PricingInfo> pricingInfo)
A timeline of pricing info for this SKU in chronological order.
|
Sku |
setServiceProviderName(String serviceProviderName)
Identifies the service provider.
|
Sku |
setServiceRegions(List<String> serviceRegions)
List of service regions this SKU is offered at.
|
Sku |
setSkuId(String skuId)
The identifier for the SKU.
|
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 Category getCategory()
null
for nonepublic Sku setCategory(Category category)
category
- category or null
for nonepublic String getDescription()
null
for nonepublic Sku setDescription(String description)
description
- description or null
for nonepublic GeoTaxonomy getGeoTaxonomy()
null
for nonepublic Sku setGeoTaxonomy(GeoTaxonomy geoTaxonomy)
geoTaxonomy
- geoTaxonomy or null
for nonepublic String getName()
null
for nonepublic Sku setName(String name)
name
- name or null
for nonepublic List<PricingInfo> getPricingInfo()
null
for nonepublic Sku setPricingInfo(List<PricingInfo> pricingInfo)
pricingInfo
- pricingInfo or null
for nonepublic String getServiceProviderName()
null
for nonepublic Sku setServiceProviderName(String serviceProviderName)
serviceProviderName
- serviceProviderName or null
for nonepublic List<String> getServiceRegions()
null
for nonepublic Sku setServiceRegions(List<String> serviceRegions)
serviceRegions
- serviceRegions or null
for nonepublic String getSkuId()
null
for nonepublic Sku setSkuId(String skuId)
skuId
- skuId or null
for nonepublic Sku set(String fieldName, Object value)
set
in class GenericJson
public Sku clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.