@Generated(value="software.amazon.awssdk:codegen") public final class ReactStartCodegenJobData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReactStartCodegenJobData.Builder,ReactStartCodegenJobData>
Describes the code generation job configuration for a React project.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReactStartCodegenJobData.Builder |
| Modifier and Type | Method and Description |
|---|---|
ApiConfiguration |
apiConfiguration()
The API configuration for the code generation job.
|
static ReactStartCodegenJobData.Builder |
builder() |
Map<String,String> |
dependencies()
Lists the dependency packages that may be required for the project code to run.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDependencies()
For responses, this returns true if the service returned a value for the Dependencies property.
|
int |
hashCode() |
Boolean |
inlineSourceMap()
Specifies whether the code generation job should render inline source maps.
|
JSModule |
module()
The JavaScript module type.
|
String |
moduleAsString()
The JavaScript module type.
|
Boolean |
renderTypeDeclarations()
Specifies whether the code generation job should render type declaration files.
|
JSScript |
script()
The file type to use for a JavaScript project.
|
String |
scriptAsString()
The file type to use for a JavaScript project.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReactStartCodegenJobData.Builder> |
serializableBuilderClass() |
JSTarget |
target()
The ECMAScript specification to use.
|
String |
targetAsString()
The ECMAScript specification to use.
|
ReactStartCodegenJobData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final JSModule module()
The JavaScript module type.
If the service returns an enum value that is not available in the current SDK version, module will
return JSModule.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
moduleAsString().
JSModulepublic final String moduleAsString()
The JavaScript module type.
If the service returns an enum value that is not available in the current SDK version, module will
return JSModule.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
moduleAsString().
JSModulepublic final JSTarget target()
The ECMAScript specification to use.
If the service returns an enum value that is not available in the current SDK version, target will
return JSTarget.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetAsString().
JSTargetpublic final String targetAsString()
The ECMAScript specification to use.
If the service returns an enum value that is not available in the current SDK version, target will
return JSTarget.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetAsString().
JSTargetpublic final JSScript script()
The file type to use for a JavaScript project.
If the service returns an enum value that is not available in the current SDK version, script will
return JSScript.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scriptAsString().
JSScriptpublic final String scriptAsString()
The file type to use for a JavaScript project.
If the service returns an enum value that is not available in the current SDK version, script will
return JSScript.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scriptAsString().
JSScriptpublic final Boolean renderTypeDeclarations()
Specifies whether the code generation job should render type declaration files.
public final Boolean inlineSourceMap()
Specifies whether the code generation job should render inline source maps.
public final ApiConfiguration apiConfiguration()
The API configuration for the code generation job.
public final boolean hasDependencies()
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> dependencies()
Lists the dependency packages that may be required for the project code to run.
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 hasDependencies() method.
public ReactStartCodegenJobData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReactStartCodegenJobData.Builder,ReactStartCodegenJobData>public static ReactStartCodegenJobData.Builder builder()
public static Class<? extends ReactStartCodegenJobData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.