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) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-