public final class InputMapping
extends com.google.api.client.json.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 Google Cloud Deployment Manager API V2Beta Methods. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
InputMapping() |
Modifier and Type | Method and Description |
---|---|
InputMapping |
clone() |
java.lang.String |
getFieldName()
The name of the field that is going to be injected.
|
java.lang.String |
getLocation()
The location where this mapping applies.
|
java.lang.String |
getMethodMatch()
Regex to evaluate on method to decide if input applies.
|
java.lang.String |
getValue()
A jsonPath expression to select an element.
|
InputMapping |
set(java.lang.String fieldName,
java.lang.Object value) |
InputMapping |
setFieldName(java.lang.String fieldName)
The name of the field that is going to be injected.
|
InputMapping |
setLocation(java.lang.String location)
The location where this mapping applies.
|
InputMapping |
setMethodMatch(java.lang.String methodMatch)
Regex to evaluate on method to decide if input applies.
|
InputMapping |
setValue(java.lang.String value)
A jsonPath expression to select an element.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getFieldName()
null
for nonepublic InputMapping setFieldName(java.lang.String fieldName)
fieldName
- fieldName or null
for nonepublic java.lang.String getLocation()
null
for nonepublic InputMapping setLocation(java.lang.String location)
location
- location or null
for nonepublic java.lang.String getMethodMatch()
null
for nonepublic InputMapping setMethodMatch(java.lang.String methodMatch)
methodMatch
- methodMatch or null
for nonepublic java.lang.String getValue()
null
for nonepublic InputMapping setValue(java.lang.String value)
value
- value or null
for nonepublic InputMapping set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public InputMapping clone()
clone
in class com.google.api.client.json.GenericJson