@Generated(value="software.amazon.awssdk:codegen") public final class HttpParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HttpParameters.Builder,HttpParameters>
These are custom parameter to be used when the target is an API Gateway REST APIs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HttpParameters.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HttpParameters.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasHeaderParameters()
Returns true if the HeaderParameters property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasPathParameterValues()
Returns true if the PathParameterValues property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasQueryStringParameters()
Returns true if the QueryStringParameters property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Map<String,String> |
headerParameters()
The headers that need to be sent as part of request invoking the API Gateway REST API.
|
List<String> |
pathParameterValues()
The path parameter values to be used to populate API Gateway REST API path wildcards ("*").
|
Map<String,String> |
queryStringParameters()
The query string keys/values that need to be sent as part of request invoking the API Gateway REST API.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HttpParameters.Builder> |
serializableBuilderClass() |
HttpParameters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasPathParameterValues()
public List<String> pathParameterValues()
The path parameter values to be used to populate API Gateway REST API path wildcards ("*").
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPathParameterValues() to see if a value was sent in this field.
public boolean hasHeaderParameters()
public Map<String,String> headerParameters()
The headers that need to be sent as part of request invoking the API Gateway REST API.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasHeaderParameters() to see if a value was sent in this field.
public boolean hasQueryStringParameters()
public Map<String,String> queryStringParameters()
The query string keys/values that need to be sent as part of request invoking the API Gateway REST API.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasQueryStringParameters() to see if a value was sent in this field.
public HttpParameters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HttpParameters.Builder,HttpParameters>public static HttpParameters.Builder builder()
public static Class<? extends HttpParameters.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.