Class CfnFeed.AspectRatioProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elementalinference.CfnFeed.AspectRatioProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeed.AspectRatioProperty>
- Enclosing interface:
CfnFeed.AspectRatioProperty
@Stability(Stable)
public static final class CfnFeed.AspectRatioProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeed.AspectRatioProperty>
A builder for
CfnFeed.AspectRatioProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFeed.AspectRatioProperty.getHeight()Sets the value ofCfnFeed.AspectRatioProperty.getWidth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
height
Sets the value ofCfnFeed.AspectRatioProperty.getHeight()- Parameters:
height- the value to be set. This parameter is required.- Returns:
this
-
width
Sets the value ofCfnFeed.AspectRatioProperty.getWidth()- Parameters:
width- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeed.AspectRatioProperty>- Returns:
- a new instance of
CfnFeed.AspectRatioProperty - Throws:
NullPointerException- if any required attribute was not provided
-