public static final class RestApiAttributes.Builder
extends java.lang.Object
RestApiAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RestApiAttributes |
build()
Builds the configured instance.
|
RestApiAttributes.Builder |
restApiId(java.lang.String restApiId)
Sets the value of
RestApiAttributes.getRestApiId() |
RestApiAttributes.Builder |
rootResourceId(java.lang.String rootResourceId)
Sets the value of
RestApiAttributes.getRootResourceId() |
public RestApiAttributes.Builder restApiId(java.lang.String restApiId)
RestApiAttributes.getRestApiId()
restApiId
- The ID of the API Gateway RestApi. This parameter is required.this
public RestApiAttributes.Builder rootResourceId(java.lang.String rootResourceId)
RestApiAttributes.getRootResourceId()
rootResourceId
- The resource ID of the root resource. This parameter is required.this
public RestApiAttributes build()
RestApiAttributes
java.lang.NullPointerException
- if any required attribute was not provided