Class ResponseConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.ResponseConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResponseConfiguration.Builder,ResponseConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ResponseConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseConfiguration.Builder,ResponseConfiguration>
Configuration that defines how to parse JSON responses from REST API calls, including paths to result data and error information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResponseConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorPath()The JSON path expression that identifies where error information is located within API responses when requests fail.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresultPath()The JSON path expression that identifies where the actual result data is located within the API response.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ResponseConfiguration.Builder>serializableBuilderClass()ResponseConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resultPath
public final String resultPath()
The JSON path expression that identifies where the actual result data is located within the API response.
- Returns:
- The JSON path expression that identifies where the actual result data is located within the API response.
-
errorPath
public final String errorPath()
The JSON path expression that identifies where error information is located within API responses when requests fail.
- Returns:
- The JSON path expression that identifies where error information is located within API responses when requests fail.
-
toBuilder
public ResponseConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResponseConfiguration.Builder,ResponseConfiguration>
-
builder
public static ResponseConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResponseConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-