CopyableBuilder<GetResourceRequest.Builder,GetResourceRequest>, SdkBuilder<GetResourceRequest.Builder,GetResourceRequest>public static interface GetResourceRequest.Builder extends CopyableBuilder<GetResourceRequest.Builder,GetResourceRequest>
| Modifier and Type | Method | Description |
|---|---|---|
GetResourceRequest.Builder |
embed(String... embed) |
A query parameter to retrieve the specified resources embedded in the returned Resource representation
in the response.
|
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 |
resourceId(String resourceId) |
The identifier for the Resource resource.
|
GetResourceRequest.Builder |
restApiId(String restApiId) |
The RestApi identifier for the resource.
|
copyapply, buildGetResourceRequest.Builder restApiId(String restApiId)
The RestApi identifier for the resource.
restApiId - The RestApi identifier for the resource.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.
NOTE: This method appends the values to the existing list (if any). Use
#setEmbed(java.util.Collection) or #withEmbed(java.util.Collection) if you want to override
the existing values.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.