Class GrantInvokeOptions.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.GrantInvokeOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GrantInvokeOptions>
- Enclosing interface:
GrantInvokeOptions
@Stability(Experimental)
public static final class GrantInvokeOptions.Builder
extends Object
implements software.amazon.jsii.Builder<GrantInvokeOptions>
A builder for
GrantInvokeOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.httpMethods
(List<? extends HttpMethod> httpMethods) Sets the value ofGrantInvokeOptions.getHttpMethods()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpMethods
@Stability(Experimental) public GrantInvokeOptions.Builder httpMethods(List<? extends HttpMethod> httpMethods) Sets the value ofGrantInvokeOptions.getHttpMethods()
- Parameters:
httpMethods
- The HTTP methods to allow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GrantInvokeOptions>
- Returns:
- a new instance of
GrantInvokeOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-