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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
GetResourceRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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.
|
buildrequestOverrideConfigcopyapply, buildGetResourceRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.GetResourceRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.