Interface MatchCapture

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
MatchCapture.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-09-11T18:01:10.265Z") @Stability(Stable) public interface MatchCapture extends software.amazon.jsii.JsiiSerializable
Information about a value captured during match.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.assertions.*;
 Capture capture;
 Object value;
 MatchCapture matchCapture = MatchCapture.builder()
         .capture(capture)
         .value(value)
         .build();
 
  • Method Details

    • getCapture

      @Stability(Stable) @NotNull Capture getCapture()
      The instance of Capture class to which this capture is associated with.
    • getValue

      @Stability(Stable) @NotNull Object getValue()
      The value that was captured.
    • builder

      @Stability(Stable) static MatchCapture.Builder builder()
      Returns:
      a MatchCapture.Builder of MatchCapture