public static final class CfnSizeConstraintSetProps.Builder
extends java.lang.Object
CfnSizeConstraintSetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSizeConstraintSetProps |
build()
Builds the configured instance.
|
CfnSizeConstraintSetProps.Builder |
name(java.lang.String name)
Sets the value of
CfnSizeConstraintSetProps.getName() |
CfnSizeConstraintSetProps.Builder |
sizeConstraints(IResolvable sizeConstraints)
Sets the value of
CfnSizeConstraintSetProps.getSizeConstraints() |
CfnSizeConstraintSetProps.Builder |
sizeConstraints(java.util.List<? extends java.lang.Object> sizeConstraints)
Sets the value of
CfnSizeConstraintSetProps.getSizeConstraints() |
public CfnSizeConstraintSetProps.Builder name(java.lang.String name)
CfnSizeConstraintSetProps.getName()
name
- The name, if any, of the `SizeConstraintSet` . This parameter is required.this
public CfnSizeConstraintSetProps.Builder sizeConstraints(IResolvable sizeConstraints)
CfnSizeConstraintSetProps.getSizeConstraints()
sizeConstraints
- The size constraint and the part of the web request to check.this
public CfnSizeConstraintSetProps.Builder sizeConstraints(java.util.List<? extends java.lang.Object> sizeConstraints)
CfnSizeConstraintSetProps.getSizeConstraints()
sizeConstraints
- The size constraint and the part of the web request to check.this
public CfnSizeConstraintSetProps build()
CfnSizeConstraintSetProps
java.lang.NullPointerException
- if any required attribute was not provided