Class Spacer.Builder
java.lang.Object
software.amazon.awscdk.services.cloudwatch.Spacer.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Spacer>
- Enclosing class:
Spacer
@Stability(Stable)
public static final class Spacer.Builder
extends Object
implements software.amazon.jsii.Builder<Spacer>
A fluent builder for
Spacer
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static Spacer.Builder
create()
Height of the spacer.Width of the spacer.
-
Method Details
-
create
- Returns:
- a new instance of
Spacer.Builder
.
-
height
Height of the spacer.Default: : 1
- Parameters:
height
- Height of the spacer. This parameter is required.- Returns:
this
-
width
Width of the spacer.Default: 1
- Parameters:
width
- Width of the spacer. This parameter is required.- Returns:
this
-
build
-