Interface ArrayLengthOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ArrayLengthOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-08-20T01:46:20.838Z") @Stability(Stable) public interface ArrayLengthOptions extends software.amazon.jsii.JsiiSerializable
Options for theArrayLengthmatcher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classArrayLengthOptions.BuilderA builder forArrayLengthOptionsstatic classArrayLengthOptions.Jsii$ProxyAn implementation forArrayLengthOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ArrayLengthOptions.Builderbuilder()default NumbergetMaxLength()The maximum length for the array - must be greater than minimum length.default NumbergetMinLength()The minimum length for the array - must be greater than zero, otherwise empty arrays pass and you wouldn't be testing the array contents.
-
-
-
Method Detail
-
getMaxLength
@Stability(Stable) @Nullable default Number getMaxLength()
The maximum length for the array - must be greater than minimum length.Default infinity.
-
getMinLength
@Stability(Stable) @Nullable default Number getMinLength()
The minimum length for the array - must be greater than zero, otherwise empty arrays pass and you wouldn't be testing the array contents.Default 1.
-
builder
@Stability(Stable) static ArrayLengthOptions.Builder builder()
- Returns:
- a
ArrayLengthOptions.BuilderofArrayLengthOptions
-
-