@Generated(value="software.amazon.awssdk:codegen") public final class CodegenJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodegenJob.Builder,CodegenJob>
Describes the configuration for a code generation job that is associated with an Amplify app.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodegenJob.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appId()
The ID of the Amplify app associated with the code generation job.
|
CodegenJobAsset |
asset()
The
CodegenJobAsset to use for the code generation job. |
Boolean |
autoGenerateForms()
Specifies whether to autogenerate forms in the code generation job.
|
static CodegenJob.Builder |
builder() |
Instant |
createdAt()
The time that the code generation job was created.
|
String |
environmentName()
The name of the backend environment associated with the code generation job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
CodegenFeatureFlags |
features()
Returns the value of the Features property for this object.
|
CodegenJobGenericDataSchema |
genericDataSchema()
Returns the value of the GenericDataSchema property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
id()
The unique ID for the code generation job.
|
Instant |
modifiedAt()
The time that the code generation job was modified.
|
CodegenJobRenderConfig |
renderConfig()
Returns the value of the RenderConfig property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodegenJob.Builder> |
serializableBuilderClass() |
CodegenJobStatus |
status()
The status of the code generation job.
|
String |
statusAsString()
The status of the code generation job.
|
String |
statusMessage()
The customized status message for the code generation job.
|
Map<String,String> |
tags()
One or more key-value pairs to use when tagging the code generation job.
|
CodegenJob.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique ID for the code generation job.
public final String appId()
The ID of the Amplify app associated with the code generation job.
public final String environmentName()
The name of the backend environment associated with the code generation job.
public final CodegenJobRenderConfig renderConfig()
public final CodegenJobGenericDataSchema genericDataSchema()
public final Boolean autoGenerateForms()
Specifies whether to autogenerate forms in the code generation job.
public final CodegenFeatureFlags features()
public final CodegenJobStatus status()
The status of the code generation job.
If the service returns an enum value that is not available in the current SDK version, status will
return CodegenJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CodegenJobStatuspublic final String statusAsString()
The status of the code generation job.
If the service returns an enum value that is not available in the current SDK version, status will
return CodegenJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CodegenJobStatuspublic final String statusMessage()
The customized status message for the code generation job.
public final CodegenJobAsset asset()
The CodegenJobAsset to use for the code generation job.
CodegenJobAsset to use for the code generation job.public final boolean hasTags()
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> tags()
One or more key-value pairs to use when tagging the code generation job.
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 hasTags() method.
public final Instant createdAt()
The time that the code generation job was created.
public final Instant modifiedAt()
The time that the code generation job was modified.
public CodegenJob.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodegenJob.Builder,CodegenJob>public static CodegenJob.Builder builder()
public static Class<? extends CodegenJob.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.