Class ExtractedParameter
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.ExtractedParameter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExtractedParameter.Builder,ExtractedParameter>
@Generated("software.amazon.awssdk:codegen") public final class ExtractedParameter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExtractedParameter.Builder,ExtractedParameter>
Parameter extraction configuration that defines how to extract and map values from API responses to request parameters.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExtractedParameter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtractedParameter.Builderbuilder()StringdefaultValue()The default value to use if the parameter cannot be extracted from the response.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The parameter key name that will be used in subsequent requests.PropertyLocationpropertyLocation()Specifies where this extracted parameter should be placed in subsequent requests, such as in headers, query parameters, or request body.StringpropertyLocationAsString()Specifies where this extracted parameter should be placed in subsequent requests, such as in headers, query parameters, or request body.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ExtractedParameter.Builder>serializableBuilderClass()ExtractedParameter.BuildertoBuilder()StringtoString()Returns a string representation of this object.ResponseExtractionMappingvalue()The JSON path or extraction mapping that defines how to extract the parameter value from API responses.-
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
-
key
public final String key()
The parameter key name that will be used in subsequent requests.
- Returns:
- The parameter key name that will be used in subsequent requests.
-
defaultValue
public final String defaultValue()
The default value to use if the parameter cannot be extracted from the response.
- Returns:
- The default value to use if the parameter cannot be extracted from the response.
-
propertyLocation
public final PropertyLocation propertyLocation()
Specifies where this extracted parameter should be placed in subsequent requests, such as in headers, query parameters, or request body.
If the service returns an enum value that is not available in the current SDK version,
propertyLocationwill returnPropertyLocation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropertyLocationAsString().- Returns:
- Specifies where this extracted parameter should be placed in subsequent requests, such as in headers, query parameters, or request body.
- See Also:
PropertyLocation
-
propertyLocationAsString
public final String propertyLocationAsString()
Specifies where this extracted parameter should be placed in subsequent requests, such as in headers, query parameters, or request body.
If the service returns an enum value that is not available in the current SDK version,
propertyLocationwill returnPropertyLocation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropertyLocationAsString().- Returns:
- Specifies where this extracted parameter should be placed in subsequent requests, such as in headers, query parameters, or request body.
- See Also:
PropertyLocation
-
value
public final ResponseExtractionMapping value()
The JSON path or extraction mapping that defines how to extract the parameter value from API responses.
- Returns:
- The JSON path or extraction mapping that defines how to extract the parameter value from API responses.
-
toBuilder
public ExtractedParameter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExtractedParameter.Builder,ExtractedParameter>
-
builder
public static ExtractedParameter.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExtractedParameter.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
-
-