public class InvokeRequest extends Object
Constructor and Description |
---|
InvokeRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getClientContext()
Getter for the client context.
|
String |
getFunctionArn()
Getter for the function ARN.
|
InvocationType |
getInvocationType()
Getter for the invocation type.
|
ByteBuffer |
getPayload()
Getter for the payload.
|
String |
getQualifier()
Getter for the qualifier.
|
void |
setClientContext(String clientContext)
Setter for the client context.
|
void |
setFunctionArn(String functionArn)
Setter for the function arn.
|
void |
setInvocationType(InvocationType invocationType)
Setter for the invocation type.
|
void |
setPayload(ByteBuffer payload)
Setter for the payload.
|
void |
setPayload(String payload)
Setter for the payload.
|
void |
setQualifier(String qualifier)
Setter for the qualifier.
|
InvokeRequest |
withClientContext(String context)
Generate the request with client context.
|
InvokeRequest |
withFunctionArn(String arn)
Generate the request with function arn.
|
InvokeRequest |
withInvocationType(InvocationType type)
Generate the request with invocation type.
|
InvokeRequest |
withPayload(ByteBuffer p)
Generate the request with payload.
|
InvokeRequest |
withPayload(String p)
Generate the request with payload.
|
InvokeRequest |
withQualifier(String q)
Generate the request with qualifier.
|
public String getFunctionArn()
public void setFunctionArn(String functionArn)
functionArn
- the function arnpublic InvocationType getInvocationType()
public void setInvocationType(InvocationType invocationType)
invocationType
- the invocation typepublic String getClientContext()
public void setClientContext(String clientContext)
clientContext
- the client contextpublic ByteBuffer getPayload()
public void setPayload(ByteBuffer payload)
payload
- the payload bytespublic void setPayload(String payload)
payload
- the payload Stringpublic String getQualifier()
public void setQualifier(String qualifier)
qualifier
- the qualifierpublic InvokeRequest withFunctionArn(String arn)
arn
- the function arnpublic InvokeRequest withInvocationType(InvocationType type)
type
- the invocation typepublic InvokeRequest withClientContext(String context)
context
- the client contextpublic InvokeRequest withPayload(ByteBuffer p)
p
- the payload bytespublic InvokeRequest withPayload(String p)
p
- the payload Stringpublic InvokeRequest withQualifier(String q)
q
- the qualifier