Class CfnResourceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnResourceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceMixinProps>
- Enclosing interface:
CfnResourceMixinProps
@Stability(Stable)
public static final class CfnResourceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceMixinProps>
A builder for
CfnResourceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnResourceMixinProps.getParentId()parentId(IResourceRef parentId) Sets the value ofCfnResourceMixinProps.getParentId()Sets the value ofCfnResourceMixinProps.getPathPart()Sets the value ofCfnResourceMixinProps.getRestApiId()restApiId(IRestApiRef restApiId) Sets the value ofCfnResourceMixinProps.getRestApiId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parentId
Sets the value ofCfnResourceMixinProps.getParentId()- Parameters:
parentId- The parent resource's identifier.- Returns:
this
-
parentId
Sets the value ofCfnResourceMixinProps.getParentId()- Parameters:
parentId- The parent resource's identifier.- Returns:
this
-
pathPart
Sets the value ofCfnResourceMixinProps.getPathPart()- Parameters:
pathPart- The last path segment for this resource.- Returns:
this
-
restApiId
Sets the value ofCfnResourceMixinProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
restApiId
Sets the value ofCfnResourceMixinProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceMixinProps>- Returns:
- a new instance of
CfnResourceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-