Class HttpApiAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.HttpApiAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpApiAttributes>
- Enclosing interface:
- HttpApiAttributes
@Stability(Experimental)
public static final class HttpApiAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<HttpApiAttributes>
A builder for
HttpApiAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiEndpoint
(String apiEndpoint) Sets the value ofHttpApiAttributes.getApiEndpoint()
build()
Builds the configured instance.Sets the value ofHttpApiAttributes.getHttpApiId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpApiId
Sets the value ofHttpApiAttributes.getHttpApiId()
- Parameters:
httpApiId
- The identifier of the HttpApi. This parameter is required.- Returns:
this
-
apiEndpoint
Sets the value ofHttpApiAttributes.getApiEndpoint()
- Parameters:
apiEndpoint
- The endpoint URL of the HttpApi.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpApiAttributes>
- Returns:
- a new instance of
HttpApiAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-