| Package | Description |
|---|---|
| com.amazonaws.services.apigateway.model |
| Modifier and Type | Method and Description |
|---|---|
Method |
Method.addMethodResponsesEntry(String key,
MethodResponse value)
Add a single MethodResponses entry
|
Method |
Method.addRequestModelsEntry(String key,
String value)
Add a single RequestModels entry
|
Method |
Method.addRequestParametersEntry(String key,
Boolean value)
Add a single RequestParameters entry
|
Method |
Method.clearMethodResponsesEntries()
Removes all the entries added into MethodResponses.
|
Method |
Method.clearRequestModelsEntries()
Removes all the entries added into RequestModels.
|
Method |
Method.clearRequestParametersEntries()
Removes all the entries added into RequestParameters.
|
Method |
Method.clone() |
Method |
Method.withApiKeyRequired(Boolean apiKeyRequired)
A boolean flag specifying whether a valid ApiKey is required to invoke this method.
|
Method |
Method.withAuthorizationScopes(Collection<String> authorizationScopes)
A list of authorization scopes configured on the method.
|
Method |
Method.withAuthorizationScopes(String... authorizationScopes)
A list of authorization scopes configured on the method.
|
Method |
Method.withAuthorizationType(String authorizationType)
The method's authorization type.
|
Method |
Method.withAuthorizerId(String authorizerId)
The identifier of an Authorizer to use on this method.
|
Method |
Method.withHttpMethod(String httpMethod)
The method's HTTP verb.
|
Method |
Method.withMethodIntegration(Integration methodIntegration)
Gets the method's integration responsible for passing the client-submitted request to the back end and performing
necessary transformations to make the request compliant with the back end.
|
Method |
Method.withMethodResponses(Map<String,MethodResponse> methodResponses)
Gets a method response associated with a given HTTP status code.
|
Method |
Method.withOperationName(String operationName)
A human-friendly operation identifier for the method.
|
Method |
Method.withRequestModels(Map<String,String> requestModels)
A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request
payloads of given content types (as the mapping key).
|
Method |
Method.withRequestParameters(Map<String,Boolean> requestParameters)
A key-value map defining required or optional method request parameters that can be accepted by API Gateway.
|
Method |
Method.withRequestValidatorId(String requestValidatorId)
The identifier of a RequestValidator for request validation.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Method> |
Resource.getResourceMethods()
Gets an API resource's method of a given HTTP verb.
|
Map<String,Method> |
UpdateResourceResult.getResourceMethods()
Gets an API resource's method of a given HTTP verb.
|
Map<String,Method> |
GetResourceResult.getResourceMethods()
Gets an API resource's method of a given HTTP verb.
|
Map<String,Method> |
CreateResourceResult.getResourceMethods()
Gets an API resource's method of a given HTTP verb.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
Resource.addResourceMethodsEntry(String key,
Method value)
Add a single ResourceMethods entry
|
UpdateResourceResult |
UpdateResourceResult.addResourceMethodsEntry(String key,
Method value)
Add a single ResourceMethods entry
|
GetResourceResult |
GetResourceResult.addResourceMethodsEntry(String key,
Method value)
Add a single ResourceMethods entry
|
CreateResourceResult |
CreateResourceResult.addResourceMethodsEntry(String key,
Method value)
Add a single ResourceMethods entry
|
| Modifier and Type | Method and Description |
|---|---|
void |
Resource.setResourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
|
void |
UpdateResourceResult.setResourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
|
void |
GetResourceResult.setResourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
|
void |
CreateResourceResult.setResourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
|
Resource |
Resource.withResourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
|
UpdateResourceResult |
UpdateResourceResult.withResourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
|
GetResourceResult |
GetResourceResult.withResourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
|
CreateResourceResult |
CreateResourceResult.withResourceMethods(Map<String,Method> resourceMethods)
Gets an API resource's method of a given HTTP verb.
|
Copyright © 2023. All rights reserved.