@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 or EventBridge ApiDestinations. In the latter case, these are merged with any InvocationParameters specified on the Connection, with any values from the Connection taking precedence.
| 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 or EventBridge
ApiDestination.
|
List<String> |
pathParameterValues()
The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination 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 or
EventBridge ApiDestination.
|
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 final boolean hasPathParameterValues()
public final List<String> pathParameterValues()
The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination 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 final boolean hasHeaderParameters()
public final Map<String,String> headerParameters()
The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
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 final boolean hasQueryStringParameters()
public final Map<String,String> queryStringParameters()
The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.