Interface GetResourceRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetResourceRequest.Builder,,GetResourceRequest> SdkBuilder<GetResourceRequest.Builder,,GetResourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetResourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionA query parameter to retrieve the specified resources embedded in the returned Resource representation in the response.embed(Collection<String> embed) A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) resourceId(String resourceId) The identifier for the Resource resource.The string identifier of the associated RestApi.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
restApiId
The string identifier of the associated RestApi.
- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The identifier for the Resource resource.
- Parameters:
resourceId- The identifier for the Resource resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
embed
A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This
embedparameter 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.- Parameters:
embed- A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. Thisembedparameter 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
embed
A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This
embedparameter 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.- Parameters:
embed- A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. Thisembedparameter 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-