Class IntegrationRenderProps.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.openapigateway.IntegrationRenderProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationRenderProps>
- Enclosing interface:
- IntegrationRenderProps
@Stability(Experimental) public static final class IntegrationRenderProps.Builder extends Object implements software.amazon.jsii.Builder<IntegrationRenderProps>
A builder forIntegrationRenderProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationRenderPropsbuild()Builds the configured instance.IntegrationRenderProps.Buildermethod(String method)Sets the value ofMethodAndPath.getMethod()IntegrationRenderProps.BuilderoperationId(String operationId)Sets the value ofIntegrationRenderProps.getOperationId()IntegrationRenderProps.Builderpath(String path)Sets the value ofMethodAndPath.getPath()IntegrationRenderProps.Builderscope(software.constructs.Construct scope)Sets the value ofIntegrationRenderProps.getScope()
-
-
-
Method Detail
-
operationId
@Stability(Experimental) public IntegrationRenderProps.Builder operationId(String operationId)
Sets the value ofIntegrationRenderProps.getOperationId()- Parameters:
operationId- The ID of the operation being rendered. This parameter is required.- Returns:
this
-
scope
@Stability(Experimental) public IntegrationRenderProps.Builder scope(software.constructs.Construct scope)
Sets the value ofIntegrationRenderProps.getScope()- Parameters:
scope- The scope in which the integration is being rendered. This parameter is required.- Returns:
this
-
method
@Stability(Experimental) public IntegrationRenderProps.Builder method(String method)
Sets the value ofMethodAndPath.getMethod()- Parameters:
method- The http method of this operation. This parameter is required.- Returns:
this
-
path
@Stability(Experimental) public IntegrationRenderProps.Builder path(String path)
Sets the value ofMethodAndPath.getPath()- Parameters:
path- The path of this operation in the api. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public IntegrationRenderProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationRenderProps>- Returns:
- a new instance of
IntegrationRenderProps - Throws:
NullPointerException- if any required attribute was not provided
-
-