JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.cloudwatchevidently.model

Class TestSegmentPatternRequest

    • Constructor Detail

      • TestSegmentPatternRequest

        public TestSegmentPatternRequest()
    • Method Detail

      • setPattern

        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.

        Parameters:
        pattern - The pattern to test.
      • getPattern

        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"}'.

        Returns:
        The pattern to test.
      • withPattern

        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.

        Parameters:
        pattern - The pattern to test.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPayload

        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.

        Parameters:
        payload - A sample evaluationContext JSON block to test against the specified pattern.
      • getPayload

        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"}'.

        Returns:
        A sample evaluationContext JSON block to test against the specified pattern.
      • withPayload

        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.

        Parameters:
        payload - A sample evaluationContext JSON block to test against the specified pattern.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /