Interface GetResourceRequest.Builder
-
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetResourceRequest.Builder,GetResourceRequest>,SdkBuilder<GetResourceRequest.Builder,GetResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetResourceRequest
public static interface GetResourceRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<GetResourceRequest.Builder,GetResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetResourceRequest.Builderembed(String... embed)A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response.GetResourceRequest.Builderembed(Collection<String> embed)A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response.GetResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetResourceRequest.BuilderresourceId(String resourceId)The identifier for the Resource resource.GetResourceRequest.BuilderrestApiId(String restApiId)The string identifier of the associated RestApi.-
Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
restApiId
GetResourceRequest.Builder restApiId(String 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
GetResourceRequest.Builder resourceId(String 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
GetResourceRequest.Builder embed(Collection<String> 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
GetResourceRequest.Builder embed(String... 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
-
-