public class InvokeRequest extends AmazonWebServiceRequest implements Serializable
Invoke operation
.AWSLambda.invoke(InvokeRequest)
,
Serialized FormConstructor and Description |
---|
InvokeRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClientContext()
Returns the value of the ClientContext property for this object.
|
String |
getFunctionName()
Returns the value of the FunctionName property for this object.
|
String |
getInvocationType()
Returns the value of the InvocationType property for this object.
|
String |
getLogType()
Returns the value of the LogType property for this object.
|
ByteBuffer |
getPayload()
Returns the value of the Payload property for this object.
|
int |
hashCode() |
void |
setClientContext(String clientContext)
Sets the value of the ClientContext property for this object.
|
void |
setFunctionName(String functionName)
Sets the value of the FunctionName property for this object.
|
void |
setInvocationType(InvocationType invocationType)
Sets the value of the InvocationType property for this object.
|
void |
setInvocationType(String invocationType)
Sets the value of the InvocationType property for this object.
|
void |
setLogType(LogType logType)
Sets the value of the LogType property for this object.
|
void |
setLogType(String logType)
Sets the value of the LogType property for this object.
|
void |
setPayload(ByteBuffer payload)
Sets the value of the Payload property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InvokeRequest |
withClientContext(String clientContext)
Sets the value of the ClientContext property for this object.
|
InvokeRequest |
withFunctionName(String functionName)
Sets the value of the FunctionName property for this object.
|
InvokeRequest |
withInvocationType(InvocationType invocationType)
Sets the value of the InvocationType property for this object.
|
InvokeRequest |
withInvocationType(String invocationType)
Sets the value of the InvocationType property for this object.
|
InvokeRequest |
withLogType(LogType logType)
Sets the value of the LogType property for this object.
|
InvokeRequest |
withLogType(String logType)
Sets the value of the LogType property for this object.
|
InvokeRequest |
withPayload(ByteBuffer payload)
Sets the value of the Payload property for this object.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getFunctionName()
Constraints:
Length: 1 - 111
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)
public void setFunctionName(String functionName)
Constraints:
Length: 1 - 111
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)
functionName
- The new value for the FunctionName property for this object.public InvokeRequest withFunctionName(String functionName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 111
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)
functionName
- The new value for the FunctionName property for this object.public String getInvocationType()
Constraints:
Allowed Values: Event, RequestResponse, DryRun
InvocationType
public void setInvocationType(String invocationType)
Constraints:
Allowed Values: Event, RequestResponse, DryRun
invocationType
- The new value for the InvocationType property for this object.InvocationType
public InvokeRequest withInvocationType(String invocationType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Event, RequestResponse, DryRun
invocationType
- The new value for the InvocationType property for this object.InvocationType
public void setInvocationType(InvocationType invocationType)
Constraints:
Allowed Values: Event, RequestResponse, DryRun
invocationType
- The new value for the InvocationType property for this object.InvocationType
public InvokeRequest withInvocationType(InvocationType invocationType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Event, RequestResponse, DryRun
invocationType
- The new value for the InvocationType property for this object.InvocationType
public String getLogType()
Constraints:
Allowed Values: None, Tail
LogType
public void setLogType(String logType)
Constraints:
Allowed Values: None, Tail
logType
- The new value for the LogType property for this object.LogType
public InvokeRequest withLogType(String logType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: None, Tail
logType
- The new value for the LogType property for this object.LogType
public void setLogType(LogType logType)
Constraints:
Allowed Values: None, Tail
logType
- The new value for the LogType property for this object.LogType
public InvokeRequest withLogType(LogType logType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: None, Tail
logType
- The new value for the LogType property for this object.LogType
public String getClientContext()
public void setClientContext(String clientContext)
clientContext
- The new value for the ClientContext property for this object.public InvokeRequest withClientContext(String clientContext)
Returns a reference to this object so that method calls can be chained together.
clientContext
- The new value for the ClientContext property for this object.public ByteBuffer getPayload()
public void setPayload(ByteBuffer payload)
payload
- The new value for the Payload property for this object.public InvokeRequest withPayload(ByteBuffer payload)
Returns a reference to this object so that method calls can be chained together.
payload
- The new value for the Payload property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.