Cloneable
, ReadLimitInfo
, ToCopyableBuilder<GetResourceRequest.Builder,GetResourceRequest>
@Generated("software.amazon.awssdk:codegen") public class GetResourceRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<GetResourceRequest.Builder,GetResourceRequest>
Request to list information about a resource.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetResourceRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static GetResourceRequest.Builder |
builder() |
|
List<String> |
embed() |
A query parameter to retrieve the specified resources embedded in the returned Resource representation in
the response.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
resourceId() |
The identifier for the Resource resource.
|
String |
restApiId() |
The RestApi identifier for the resource.
|
static Class<? extends GetResourceRequest.Builder> |
serializableBuilderClass() |
|
GetResourceRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String restApiId()
The RestApi identifier for the resource.
public String resourceId()
The identifier for the Resource resource.
public List<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
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
.public GetResourceRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetResourceRequest.Builder,GetResourceRequest>
public static GetResourceRequest.Builder builder()
public static Class<? extends GetResourceRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.