public class FunctionRef extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionRef.Invoke |
| Constructor and Description |
|---|
FunctionRef()
No args constructor for use in serialization
|
FunctionRef(String refName) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
getArguments()
Function arguments
|
FunctionRef.Invoke |
getInvoke()
Specifies if the function should be invoked sync or async.
|
String |
getRefName()
Name of the referenced function
(Required)
|
String |
getSelectionSet()
Only used if function type is 'graphql'.
|
void |
setArguments(com.fasterxml.jackson.databind.JsonNode arguments)
Function arguments
|
void |
setInvoke(FunctionRef.Invoke invoke)
Specifies if the function should be invoked sync or async.
|
void |
setRefName(String refName)
Name of the referenced function
(Required)
|
void |
setSelectionSet(String selectionSet)
Only used if function type is 'graphql'.
|
FunctionRef |
withArguments(com.fasterxml.jackson.databind.JsonNode arguments) |
FunctionRef |
withInvoke(FunctionRef.Invoke invoke) |
FunctionRef |
withRefName(String refName) |
FunctionRef |
withSelectionSet(String selectionSet) |
public FunctionRef()
public FunctionRef(String refName)
refName - public String getRefName()
public void setRefName(String refName)
public FunctionRef withRefName(String refName)
public com.fasterxml.jackson.databind.JsonNode getArguments()
public void setArguments(com.fasterxml.jackson.databind.JsonNode arguments)
public FunctionRef withArguments(com.fasterxml.jackson.databind.JsonNode arguments)
public String getSelectionSet()
public void setSelectionSet(String selectionSet)
public FunctionRef withSelectionSet(String selectionSet)
public FunctionRef.Invoke getInvoke()
public void setInvoke(FunctionRef.Invoke invoke)
public FunctionRef withInvoke(FunctionRef.Invoke invoke)
Copyright © 2020–2023 CNCF. All rights reserved.