@Generated(value="software.amazon.awssdk:codegen") public final class GetPlanRequest extends GlueRequest implements ToCopyableBuilder<GetPlanRequest.Builder,GetPlanRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetPlanRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
additionalPlanOptionsMap()
A map to hold additional optional key-value parameters.
|
static GetPlanRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdditionalPlanOptionsMap()
For responses, this returns true if the service returned a value for the AdditionalPlanOptionsMap property.
|
int |
hashCode() |
boolean |
hasMapping()
For responses, this returns true if the service returned a value for the Mapping property.
|
boolean |
hasSinks()
For responses, this returns true if the service returned a value for the Sinks property.
|
Language |
language()
The programming language of the code to perform the mapping.
|
String |
languageAsString()
The programming language of the code to perform the mapping.
|
Location |
location()
The parameters for the mapping.
|
List<MappingEntry> |
mapping()
The list of mappings from a source table to target tables.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetPlanRequest.Builder> |
serializableBuilderClass() |
List<CatalogEntry> |
sinks()
The target tables.
|
CatalogEntry |
source()
The source table.
|
GetPlanRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasMapping()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<MappingEntry> mapping()
The list of mappings from a source table to target tables.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMapping() method.
public final CatalogEntry source()
The source table.
public final boolean hasSinks()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<CatalogEntry> sinks()
The target tables.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSinks() method.
public final Location location()
The parameters for the mapping.
public final Language language()
The programming language of the code to perform the mapping.
If the service returns an enum value that is not available in the current SDK version, language will
return Language.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageAsString().
Languagepublic final String languageAsString()
The programming language of the code to perform the mapping.
If the service returns an enum value that is not available in the current SDK version, language will
return Language.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageAsString().
Languagepublic final boolean hasAdditionalPlanOptionsMap()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final Map<String,String> additionalPlanOptionsMap()
A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
inferSchema — Specifies whether to set inferSchema to true or false for the default
script generated by an Glue job. For example, to set inferSchema to true, pass the following key
value pair:
--additional-plan-options-map '{"inferSchema":"true"}'
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdditionalPlanOptionsMap() method.
Currently, these key-value pairs are supported:
inferSchema — Specifies whether to set inferSchema to true or false for the
default script generated by an Glue job. For example, to set inferSchema to true, pass the
following key value pair:
--additional-plan-options-map '{"inferSchema":"true"}'
public GetPlanRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetPlanRequest.Builder,GetPlanRequest>toBuilder in class GlueRequestpublic static GetPlanRequest.Builder builder()
public static Class<? extends GetPlanRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.