Interface MatchCapture

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:23:55.905Z") @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