public static interface GetResourceRequest.Builder extends ApiGatewayRequest.Builder, CopyableBuilder<GetResourceRequest.Builder,GetResourceRequest>
Modifier and Type | Method and Description |
---|---|
GetResourceRequest.Builder |
embed(Collection<String> embed)
A query parameter to retrieve the specified resources embedded in the returned Resource representation
in the response.
|
GetResourceRequest.Builder |
embed(String... embed)
A query parameter to retrieve the specified resources embedded in the returned Resource representation
in the response.
|
GetResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetResourceRequest.Builder |
resourceId(String resourceId)
The identifier for the Resource resource.
|
GetResourceRequest.Builder |
restApiId(String restApiId)
The string identifier of the associated RestApi.
|
build
overrideConfiguration
copy
applyMutation, build
GetResourceRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.GetResourceRequest.Builder resourceId(String resourceId)
The identifier for the Resource resource.
resourceId
- The identifier for the Resource resource.GetResourceRequest.Builder embed(Collection<String> embed)
A query parameter to retrieve the specified resources embedded in the returned Resource representation
in the response. This embed
parameter value is a list of comma-separated strings. Currently, the
request supports only retrieval of the embedded Method resources this way. The query parameter value
must be a single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods
.
embed
- A query parameter to retrieve the specified resources embedded in the returned Resource
representation in the response. This embed
parameter value is a list of comma-separated
strings. Currently, the request supports only retrieval of the embedded Method resources this
way. The query parameter value must be a single-valued list and contain the "methods"
string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods
.GetResourceRequest.Builder embed(String... embed)
A query parameter to retrieve the specified resources embedded in the returned Resource representation
in the response. This embed
parameter value is a list of comma-separated strings. Currently, the
request supports only retrieval of the embedded Method resources this way. The query parameter value
must be a single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods
.
embed
- A query parameter to retrieve the specified resources embedded in the returned Resource
representation in the response. This embed
parameter value is a list of comma-separated
strings. Currently, the request supports only retrieval of the embedded Method resources this
way. The query parameter value must be a single-valued list and contain the "methods"
string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods
.GetResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.