public static interface AwsApiGatewayRestApiDetails.Builder extends SdkPojo, CopyableBuilder<AwsApiGatewayRestApiDetails.Builder,AwsApiGatewayRestApiDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsApiGatewayRestApiDetails.Builder |
apiKeySource(String apiKeySource)
The source of the API key for metering requests according to a usage plan.
|
AwsApiGatewayRestApiDetails.Builder |
binaryMediaTypes(Collection<String> binaryMediaTypes)
The list of binary media types supported by the REST API.
|
AwsApiGatewayRestApiDetails.Builder |
binaryMediaTypes(String... binaryMediaTypes)
The list of binary media types supported by the REST API.
|
AwsApiGatewayRestApiDetails.Builder |
createdDate(String createdDate)
Indicates when the API was created.
|
AwsApiGatewayRestApiDetails.Builder |
description(String description)
A description of the REST API.
|
AwsApiGatewayRestApiDetails.Builder |
endpointConfiguration(AwsApiGatewayEndpointConfiguration endpointConfiguration)
The endpoint configuration of the REST API.
|
default AwsApiGatewayRestApiDetails.Builder |
endpointConfiguration(Consumer<AwsApiGatewayEndpointConfiguration.Builder> endpointConfiguration)
The endpoint configuration of the REST API.
|
AwsApiGatewayRestApiDetails.Builder |
id(String id)
The identifier of the REST API.
|
AwsApiGatewayRestApiDetails.Builder |
minimumCompressionSize(Integer minimumCompressionSize)
The minimum size in bytes of a payload before compression is enabled.
|
AwsApiGatewayRestApiDetails.Builder |
name(String name)
The name of the REST API.
|
AwsApiGatewayRestApiDetails.Builder |
version(String version)
The version identifier for the REST API.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsApiGatewayRestApiDetails.Builder id(String id)
The identifier of the REST API.
id - The identifier of the REST API.AwsApiGatewayRestApiDetails.Builder name(String name)
The name of the REST API.
name - The name of the REST API.AwsApiGatewayRestApiDetails.Builder description(String description)
A description of the REST API.
description - A description of the REST API.AwsApiGatewayRestApiDetails.Builder createdDate(String createdDate)
Indicates when the API was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces, and date and time should be separated by T. For example,
2020-03-22T13:22:13.933Z.
createdDate - Indicates when the API was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T.
For example, 2020-03-22T13:22:13.933Z.
AwsApiGatewayRestApiDetails.Builder version(String version)
The version identifier for the REST API.
version - The version identifier for the REST API.AwsApiGatewayRestApiDetails.Builder binaryMediaTypes(Collection<String> binaryMediaTypes)
The list of binary media types supported by the REST API.
binaryMediaTypes - The list of binary media types supported by the REST API.AwsApiGatewayRestApiDetails.Builder binaryMediaTypes(String... binaryMediaTypes)
The list of binary media types supported by the REST API.
binaryMediaTypes - The list of binary media types supported by the REST API.AwsApiGatewayRestApiDetails.Builder minimumCompressionSize(Integer minimumCompressionSize)
The minimum size in bytes of a payload before compression is enabled.
If null, then compression is disabled.
If 0, then all payloads are compressed.
minimumCompressionSize - The minimum size in bytes of a payload before compression is enabled.
If null, then compression is disabled.
If 0, then all payloads are compressed.
AwsApiGatewayRestApiDetails.Builder apiKeySource(String apiKeySource)
The source of the API key for metering requests according to a usage plan.
HEADER indicates whether to read the API key from the X-API-Key header of a request.
AUTHORIZER indicates whether to read the API key from the UsageIdentifierKey from a
custom authorizer.
apiKeySource - The source of the API key for metering requests according to a usage plan.
HEADER indicates whether to read the API key from the X-API-Key header of a request.
AUTHORIZER indicates whether to read the API key from the UsageIdentifierKey
from a custom authorizer.
AwsApiGatewayRestApiDetails.Builder endpointConfiguration(AwsApiGatewayEndpointConfiguration endpointConfiguration)
The endpoint configuration of the REST API.
endpointConfiguration - The endpoint configuration of the REST API.default AwsApiGatewayRestApiDetails.Builder endpointConfiguration(Consumer<AwsApiGatewayEndpointConfiguration.Builder> endpointConfiguration)
The endpoint configuration of the REST API.
This is a convenience method that creates an instance of theAwsApiGatewayEndpointConfiguration.Builder avoiding the need to create one manually via
AwsApiGatewayEndpointConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to endpointConfiguration(AwsApiGatewayEndpointConfiguration).
endpointConfiguration - a consumer that will call methods on AwsApiGatewayEndpointConfiguration.BuilderendpointConfiguration(AwsApiGatewayEndpointConfiguration)Copyright © 2023. All rights reserved.