public final class BulkInsertInstanceResource 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BulkInsertInstanceResource() |
Modifier and Type | Method and Description |
---|---|
BulkInsertInstanceResource |
clone() |
Long |
getCount()
The maximum number of instances to create.
|
Instance |
getInstance() |
InstanceProperties |
getInstanceProperties()
The instance properties for the request.
|
LocationPolicy |
getLocationPolicy() |
Long |
getMinCount()
The minimum number of instances to create.
|
String |
getNamePattern()
Instance name pattern.
|
List<String> |
getPredefinedNames()
List of predefined names.
|
String |
getSourceInstanceTemplate()
Specifies the instance template from which to create instances.
|
BulkInsertInstanceResource |
set(String fieldName,
Object value) |
BulkInsertInstanceResource |
setCount(Long count)
The maximum number of instances to create.
|
BulkInsertInstanceResource |
setInstance(Instance instance) |
BulkInsertInstanceResource |
setInstanceProperties(InstanceProperties instanceProperties)
The instance properties for the request.
|
BulkInsertInstanceResource |
setLocationPolicy(LocationPolicy locationPolicy) |
BulkInsertInstanceResource |
setMinCount(Long minCount)
The minimum number of instances to create.
|
BulkInsertInstanceResource |
setNamePattern(String namePattern)
Instance name pattern.
|
BulkInsertInstanceResource |
setPredefinedNames(List<String> predefinedNames)
List of predefined names.
|
BulkInsertInstanceResource |
setSourceInstanceTemplate(String sourceInstanceTemplate)
Specifies the instance template from which to create instances.
|
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 Long getCount()
null
for nonepublic BulkInsertInstanceResource setCount(Long count)
count
- count or null
for nonepublic Instance getInstance()
null
for nonepublic BulkInsertInstanceResource setInstance(Instance instance)
instance
- instance or null
for nonepublic InstanceProperties getInstanceProperties()
null
for nonepublic BulkInsertInstanceResource setInstanceProperties(InstanceProperties instanceProperties)
instanceProperties
- instanceProperties or null
for nonepublic LocationPolicy getLocationPolicy()
null
for nonepublic BulkInsertInstanceResource setLocationPolicy(LocationPolicy locationPolicy)
locationPolicy
- locationPolicy or null
for nonepublic Long getMinCount()
null
for nonepublic BulkInsertInstanceResource setMinCount(Long minCount)
minCount
- minCount or null
for nonepublic String getNamePattern()
null
for nonepublic BulkInsertInstanceResource setNamePattern(String namePattern)
namePattern
- namePattern or null
for nonepublic List<String> getPredefinedNames()
null
for nonepublic BulkInsertInstanceResource setPredefinedNames(List<String> predefinedNames)
predefinedNames
- predefinedNames or null
for nonepublic String getSourceInstanceTemplate()
null
for nonepublic BulkInsertInstanceResource setSourceInstanceTemplate(String sourceInstanceTemplate)
sourceInstanceTemplate
- sourceInstanceTemplate or null
for nonepublic BulkInsertInstanceResource set(String fieldName, Object value)
set
in class GenericJson
public BulkInsertInstanceResource clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.