Interface SpacerProps

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-11T23:26:30.275Z") @Stability(Stable) public interface SpacerProps extends software.amazon.jsii.JsiiSerializable
Props of the spacer.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudwatch.*;
 SpacerProps spacerProps = SpacerProps.builder()
         .height(123)
         .width(123)
         .build();
 
  • Method Details

    • getHeight

      @Stability(Stable) @Nullable default Number getHeight()
      Height of the spacer.

      Default: : 1

    • getWidth

      @Stability(Stable) @Nullable default Number getWidth()
      Width of the spacer.

      Default: 1

    • builder

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