@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestSegmentPatternRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP | Constructor and Description |
|---|
TestSegmentPatternRequest () |
| Modifier and Type | Method and Description |
|---|---|
TestSegmentPatternRequest |
clone ()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals (Object obj) |
String |
getPattern ()
The pattern to test.
|
String |
getPayload ()
A sample
evaluationContext JSON block to test against the specified pattern. |
int |
hashCode () |
void |
setPattern (String pattern)
The pattern to test.
|
void |
setPayload (String payload)
A sample
evaluationContext JSON block to test against the specified pattern. |
String |
toString ()
Returns a string representation of this object.
|
TestSegmentPatternRequest |
withPattern (String pattern)
The pattern to test.
|
TestSegmentPatternRequest |
withPayload (String payload)
A sample
evaluationContext JSON block to test against the specified pattern. |
addHandlerContext, 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, withSdkRequestTimeout public TestSegmentPatternRequest()
public void setPattern(String pattern)
The pattern to test.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
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.
pattern - The pattern to test.public String getPattern()
The pattern to test.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
public TestSegmentPatternRequest withPattern(String pattern)
The pattern to test.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
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.
pattern - The pattern to test.public void setPayload(String payload)
A sample evaluationContext JSON block to test against the specified pattern.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
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.
payload - A sample evaluationContext JSON block to test against the specified pattern.public String getPayload()
A sample evaluationContext JSON block to test against the specified pattern.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
evaluationContext JSON block to test against the specified pattern.public TestSegmentPatternRequest withPayload(String payload)
A sample evaluationContext JSON block to test against the specified pattern.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
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.
payload - A sample evaluationContext JSON block to test against the specified pattern.public String toString()
toString in class Object Object.toString() public TestSegmentPatternRequest clone()
AmazonWebServiceRequest clone in class AmazonWebServiceRequest Object.clone()