@Generated(value="software.amazon.awssdk:codegen") public final class TestFunctionRequest extends CloudFrontRequest implements ToCopyableBuilder<TestFunctionRequest.Builder,TestFunctionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestFunctionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TestFunctionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
SdkBytes |
eventObject()
The event object to test the function with.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ifMatch()
The current version (
ETag value) of the function that you are testing, which you can get using
DescribeFunction. |
String |
name()
The name of the function that you are testing.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TestFunctionRequest.Builder> |
serializableBuilderClass() |
FunctionStage |
stage()
The stage of the function that you are testing, either
DEVELOPMENT or LIVE. |
String |
stageAsString()
The stage of the function that you are testing, either
DEVELOPMENT or LIVE. |
TestFunctionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the function that you are testing.
public final String ifMatch()
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 final FunctionStage stage()
The stage of the function that you are testing, either DEVELOPMENT or LIVE.
If the service returns an enum value that is not available in the current SDK version, stage will return
FunctionStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stageAsString().
DEVELOPMENT or LIVE.FunctionStagepublic final String stageAsString()
The stage of the function that you are testing, either DEVELOPMENT or LIVE.
If the service returns an enum value that is not available in the current SDK version, stage will return
FunctionStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stageAsString().
DEVELOPMENT or LIVE.FunctionStagepublic final SdkBytes 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 TestFunctionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TestFunctionRequest.Builder,TestFunctionRequest>toBuilder in class CloudFrontRequestpublic static TestFunctionRequest.Builder builder()
public static Class<? extends TestFunctionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.