Class ReactStartCodegenJobData
- java.lang.Object
-
- software.amazon.awssdk.services.amplifyuibuilder.model.ReactStartCodegenJobData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReactStartCodegenJobData.Builder,ReactStartCodegenJobData>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReactStartCodegenJobData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiConfigurationapiConfiguration()The API configuration for the code generation job.static ReactStartCodegenJobData.Builderbuilder()Map<String,String>dependencies()Lists the dependency packages that may be required for the project code to run.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasDependencies()For responses, this returns true if the service returned a value for the Dependencies property.inthashCode()BooleaninlineSourceMap()Specifies whether the code generation job should render inline source maps.JSModulemodule()The JavaScript module type.StringmoduleAsString()The JavaScript module type.BooleanrenderTypeDeclarations()Specifies whether the code generation job should render type declaration files.JSScriptscript()The file type to use for a JavaScript project.StringscriptAsString()The file type to use for a JavaScript project.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReactStartCodegenJobData.Builder>serializableBuilderClass()JSTargettarget()The ECMAScript specification to use.StringtargetAsString()The ECMAScript specification to use.ReactStartCodegenJobData.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
-
module
public final JSModule module()
The JavaScript module type.
If the service returns an enum value that is not available in the current SDK version,
modulewill returnJSModule.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommoduleAsString().- Returns:
- The JavaScript module type.
- See Also:
JSModule
-
moduleAsString
public final String moduleAsString()
The JavaScript module type.
If the service returns an enum value that is not available in the current SDK version,
modulewill returnJSModule.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommoduleAsString().- Returns:
- The JavaScript module type.
- See Also:
JSModule
-
target
public final JSTarget target()
The ECMAScript specification to use.
If the service returns an enum value that is not available in the current SDK version,
targetwill returnJSTarget.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetAsString().- Returns:
- The ECMAScript specification to use.
- See Also:
JSTarget
-
targetAsString
public final String targetAsString()
The ECMAScript specification to use.
If the service returns an enum value that is not available in the current SDK version,
targetwill returnJSTarget.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetAsString().- Returns:
- The ECMAScript specification to use.
- See Also:
JSTarget
-
script
public 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,
scriptwill returnJSScript.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscriptAsString().- Returns:
- The file type to use for a JavaScript project.
- See Also:
JSScript
-
scriptAsString
public 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,
scriptwill returnJSScript.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscriptAsString().- Returns:
- The file type to use for a JavaScript project.
- See Also:
JSScript
-
renderTypeDeclarations
public final Boolean renderTypeDeclarations()
Specifies whether the code generation job should render type declaration files.
- Returns:
- Specifies whether the code generation job should render type declaration files.
-
inlineSourceMap
public final Boolean inlineSourceMap()
Specifies whether the code generation job should render inline source maps.
- Returns:
- Specifies whether the code generation job should render inline source maps.
-
apiConfiguration
public final ApiConfiguration apiConfiguration()
The API configuration for the code generation job.
- Returns:
- The API configuration for the code generation job.
-
hasDependencies
public final boolean hasDependencies()
For responses, this returns true if the service returned a value for the Dependencies property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
dependencies
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.- Returns:
- Lists the dependency packages that may be required for the project code to run.
-
toBuilder
public ReactStartCodegenJobData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReactStartCodegenJobData.Builder,ReactStartCodegenJobData>
-
builder
public static ReactStartCodegenJobData.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReactStartCodegenJobData.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
-
-