Class IntegrationGrantProps.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.openapigateway.IntegrationGrantProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationGrantProps>
- Enclosing interface:
- IntegrationGrantProps
@Stability(Experimental) public static final class IntegrationGrantProps.Builder extends Object implements software.amazon.jsii.Builder<IntegrationGrantProps>
A builder forIntegrationGrantProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationGrantProps.Builderapi(software.amazon.awscdk.services.apigateway.SpecRestApi api)Sets the value ofIntegrationGrantProps.getApi()IntegrationGrantPropsbuild()Builds the configured instance.IntegrationGrantProps.Buildermethod(String method)Sets the value ofMethodAndPath.getMethod()IntegrationGrantProps.BuilderoperationId(String operationId)Sets the value ofIntegrationGrantProps.getOperationId()IntegrationGrantProps.Builderpath(String path)Sets the value ofMethodAndPath.getPath()IntegrationGrantProps.Builderscope(software.constructs.Construct scope)Sets the value ofIntegrationGrantProps.getScope()
-
-
-
Method Detail
-
api
@Stability(Experimental) public IntegrationGrantProps.Builder api(software.amazon.awscdk.services.apigateway.SpecRestApi api)
Sets the value ofIntegrationGrantProps.getApi()- Parameters:
api- The api to grant permissions for. This parameter is required.- Returns:
this
-
operationId
@Stability(Experimental) public IntegrationGrantProps.Builder operationId(String operationId)
Sets the value ofIntegrationGrantProps.getOperationId()- Parameters:
operationId- The ID of the operation for which permissions are being granted. This parameter is required.- Returns:
this
-
scope
@Stability(Experimental) public IntegrationGrantProps.Builder scope(software.constructs.Construct scope)
Sets the value ofIntegrationGrantProps.getScope()- Parameters:
scope- The scope in which permission resources can be created. This parameter is required.- Returns:
this
-
method
@Stability(Experimental) public IntegrationGrantProps.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 IntegrationGrantProps.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 IntegrationGrantProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationGrantProps>- Returns:
- a new instance of
IntegrationGrantProps - Throws:
NullPointerException- if any required attribute was not provided
-
-