@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestFunctionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
TestFunctionRequest() |
| Modifier and Type | Method and Description |
|---|---|
TestFunctionRequest |
clone() |
boolean |
equals(Object obj) |
ByteBuffer |
getEventObject()
The event object to test the function with.
|
String |
getIfMatch()
The current version (
ETag value) of the function that you are testing, which you can get using
DescribeFunction. |
String |
getName()
The name of the function that you are testing.
|
String |
getStage()
The stage of the function that you are testing, either
DEVELOPMENT or LIVE. |
int |
hashCode() |
void |
setEventObject(ByteBuffer eventObject)
The event object to test the function with.
|
void |
setIfMatch(String ifMatch)
The current version (
ETag value) of the function that you are testing, which you can get using
DescribeFunction. |
void |
setName(String name)
The name of the function that you are testing.
|
void |
setStage(String stage)
The stage of the function that you are testing, either
DEVELOPMENT or LIVE. |
String |
toString()
Returns a string representation of this object.
|
TestFunctionRequest |
withEventObject(ByteBuffer eventObject)
The event object to test the function with.
|
TestFunctionRequest |
withIfMatch(String ifMatch)
The current version (
ETag value) of the function that you are testing, which you can get using
DescribeFunction. |
TestFunctionRequest |
withName(String name)
The name of the function that you are testing.
|
TestFunctionRequest |
withStage(FunctionStage stage)
The stage of the function that you are testing, either
DEVELOPMENT or LIVE. |
TestFunctionRequest |
withStage(String stage)
The stage of the function that you are testing, either
DEVELOPMENT or LIVE. |
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the function that you are testing.
name - The name of the function that you are testing.public String getName()
The name of the function that you are testing.
public TestFunctionRequest withName(String name)
The name of the function that you are testing.
name - The name of the function that you are testing.public void setIfMatch(String ifMatch)
The current version (ETag value) of the function that you are testing, which you can get using
DescribeFunction.
ifMatch - The current version (ETag value) of the function that you are testing, which you can get
using DescribeFunction.public String getIfMatch()
The current version (ETag value) of the function that you are testing, which you can get using
DescribeFunction.
ETag value) of the function that you are testing, which you can get
using DescribeFunction.public TestFunctionRequest withIfMatch(String ifMatch)
The current version (ETag value) of the function that you are testing, which you can get using
DescribeFunction.
ifMatch - The current version (ETag value) of the function that you are testing, which you can get
using DescribeFunction.public void setStage(String stage)
The stage of the function that you are testing, either DEVELOPMENT or LIVE.
stage - The stage of the function that you are testing, either DEVELOPMENT or LIVE.FunctionStagepublic String getStage()
The stage of the function that you are testing, either DEVELOPMENT or LIVE.
DEVELOPMENT or LIVE.FunctionStagepublic TestFunctionRequest withStage(String stage)
The stage of the function that you are testing, either DEVELOPMENT or LIVE.
stage - The stage of the function that you are testing, either DEVELOPMENT or LIVE.FunctionStagepublic TestFunctionRequest withStage(FunctionStage stage)
The stage of the function that you are testing, either DEVELOPMENT or LIVE.
stage - The stage of the function that you are testing, either DEVELOPMENT or LIVE.FunctionStagepublic void setEventObject(ByteBuffer eventObject)
The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
eventObject - The event object to test the function with. For more information about the structure of the event object,
see Testing functions in the Amazon CloudFront Developer Guide.public ByteBuffer getEventObject()
The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer.
Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
public TestFunctionRequest withEventObject(ByteBuffer eventObject)
The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
eventObject - The event object to test the function with. For more information about the structure of the event object,
see Testing functions in the Amazon CloudFront Developer Guide.public String toString()
toString in class ObjectObject.toString()public TestFunctionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.