@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodegenJob extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration for a code generation job that is associated with an Amplify app.
Constructor and Description |
---|
CodegenJob() |
Modifier and Type | Method and Description |
---|---|
CodegenJob |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CodegenJob |
clearTagsEntries()
Removes all the entries added into Tags.
|
CodegenJob |
clone() |
boolean |
equals(Object obj) |
String |
getAppId()
The ID of the Amplify app associated with the code generation job.
|
CodegenJobAsset |
getAsset()
The
CodegenJobAsset to use for the code generation job. |
Boolean |
getAutoGenerateForms()
Specifies whether to autogenerate forms in the code generation job.
|
Date |
getCreatedAt()
The time that the code generation job was created.
|
List<CodegenDependency> |
getDependencies()
Lists the dependency packages that may be required for the project code to run.
|
String |
getEnvironmentName()
The name of the backend environment associated with the code generation job.
|
CodegenFeatureFlags |
getFeatures() |
CodegenJobGenericDataSchema |
getGenericDataSchema() |
String |
getId()
The unique ID for the code generation job.
|
Date |
getModifiedAt()
The time that the code generation job was modified.
|
CodegenJobRenderConfig |
getRenderConfig() |
String |
getStatus()
The status of the code generation job.
|
String |
getStatusMessage()
The customized status message for the code generation job.
|
Map<String,String> |
getTags()
One or more key-value pairs to use when tagging the code generation job.
|
int |
hashCode() |
Boolean |
isAutoGenerateForms()
Specifies whether to autogenerate forms in the code generation job.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppId(String appId)
The ID of the Amplify app associated with the code generation job.
|
void |
setAsset(CodegenJobAsset asset)
The
CodegenJobAsset to use for the code generation job. |
void |
setAutoGenerateForms(Boolean autoGenerateForms)
Specifies whether to autogenerate forms in the code generation job.
|
void |
setCreatedAt(Date createdAt)
The time that the code generation job was created.
|
void |
setDependencies(Collection<CodegenDependency> dependencies)
Lists the dependency packages that may be required for the project code to run.
|
void |
setEnvironmentName(String environmentName)
The name of the backend environment associated with the code generation job.
|
void |
setFeatures(CodegenFeatureFlags features) |
void |
setGenericDataSchema(CodegenJobGenericDataSchema genericDataSchema) |
void |
setId(String id)
The unique ID for the code generation job.
|
void |
setModifiedAt(Date modifiedAt)
The time that the code generation job was modified.
|
void |
setRenderConfig(CodegenJobRenderConfig renderConfig) |
void |
setStatus(String status)
The status of the code generation job.
|
void |
setStatusMessage(String statusMessage)
The customized status message for the code generation job.
|
void |
setTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the code generation job.
|
String |
toString()
Returns a string representation of this object.
|
CodegenJob |
withAppId(String appId)
The ID of the Amplify app associated with the code generation job.
|
CodegenJob |
withAsset(CodegenJobAsset asset)
The
CodegenJobAsset to use for the code generation job. |
CodegenJob |
withAutoGenerateForms(Boolean autoGenerateForms)
Specifies whether to autogenerate forms in the code generation job.
|
CodegenJob |
withCreatedAt(Date createdAt)
The time that the code generation job was created.
|
CodegenJob |
withDependencies(CodegenDependency... dependencies)
Lists the dependency packages that may be required for the project code to run.
|
CodegenJob |
withDependencies(Collection<CodegenDependency> dependencies)
Lists the dependency packages that may be required for the project code to run.
|
CodegenJob |
withEnvironmentName(String environmentName)
The name of the backend environment associated with the code generation job.
|
CodegenJob |
withFeatures(CodegenFeatureFlags features) |
CodegenJob |
withGenericDataSchema(CodegenJobGenericDataSchema genericDataSchema) |
CodegenJob |
withId(String id)
The unique ID for the code generation job.
|
CodegenJob |
withModifiedAt(Date modifiedAt)
The time that the code generation job was modified.
|
CodegenJob |
withRenderConfig(CodegenJobRenderConfig renderConfig) |
CodegenJob |
withStatus(CodegenJobStatus status)
The status of the code generation job.
|
CodegenJob |
withStatus(String status)
The status of the code generation job.
|
CodegenJob |
withStatusMessage(String statusMessage)
The customized status message for the code generation job.
|
CodegenJob |
withTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the code generation job.
|
public void setId(String id)
The unique ID for the code generation job.
id
- The unique ID for the code generation job.public String getId()
The unique ID for the code generation job.
public CodegenJob withId(String id)
The unique ID for the code generation job.
id
- The unique ID for the code generation job.public void setAppId(String appId)
The ID of the Amplify app associated with the code generation job.
appId
- The ID of the Amplify app associated with the code generation job.public String getAppId()
The ID of the Amplify app associated with the code generation job.
public CodegenJob withAppId(String appId)
The ID of the Amplify app associated with the code generation job.
appId
- The ID of the Amplify app associated with the code generation job.public void setEnvironmentName(String environmentName)
The name of the backend environment associated with the code generation job.
environmentName
- The name of the backend environment associated with the code generation job.public String getEnvironmentName()
The name of the backend environment associated with the code generation job.
public CodegenJob withEnvironmentName(String environmentName)
The name of the backend environment associated with the code generation job.
environmentName
- The name of the backend environment associated with the code generation job.public void setRenderConfig(CodegenJobRenderConfig renderConfig)
renderConfig
- public CodegenJobRenderConfig getRenderConfig()
public CodegenJob withRenderConfig(CodegenJobRenderConfig renderConfig)
renderConfig
- public void setGenericDataSchema(CodegenJobGenericDataSchema genericDataSchema)
genericDataSchema
- public CodegenJobGenericDataSchema getGenericDataSchema()
public CodegenJob withGenericDataSchema(CodegenJobGenericDataSchema genericDataSchema)
genericDataSchema
- public void setAutoGenerateForms(Boolean autoGenerateForms)
Specifies whether to autogenerate forms in the code generation job.
autoGenerateForms
- Specifies whether to autogenerate forms in the code generation job.public Boolean getAutoGenerateForms()
Specifies whether to autogenerate forms in the code generation job.
public CodegenJob withAutoGenerateForms(Boolean autoGenerateForms)
Specifies whether to autogenerate forms in the code generation job.
autoGenerateForms
- Specifies whether to autogenerate forms in the code generation job.public Boolean isAutoGenerateForms()
Specifies whether to autogenerate forms in the code generation job.
public void setFeatures(CodegenFeatureFlags features)
features
- public CodegenFeatureFlags getFeatures()
public CodegenJob withFeatures(CodegenFeatureFlags features)
features
- public void setStatus(String status)
The status of the code generation job.
status
- The status of the code generation job.CodegenJobStatus
public String getStatus()
The status of the code generation job.
CodegenJobStatus
public CodegenJob withStatus(String status)
The status of the code generation job.
status
- The status of the code generation job.CodegenJobStatus
public CodegenJob withStatus(CodegenJobStatus status)
The status of the code generation job.
status
- The status of the code generation job.CodegenJobStatus
public void setStatusMessage(String statusMessage)
The customized status message for the code generation job.
statusMessage
- The customized status message for the code generation job.public String getStatusMessage()
The customized status message for the code generation job.
public CodegenJob withStatusMessage(String statusMessage)
The customized status message for the code generation job.
statusMessage
- The customized status message for the code generation job.public void setAsset(CodegenJobAsset asset)
The CodegenJobAsset
to use for the code generation job.
asset
- The CodegenJobAsset
to use for the code generation job.public CodegenJobAsset getAsset()
The CodegenJobAsset
to use for the code generation job.
CodegenJobAsset
to use for the code generation job.public CodegenJob withAsset(CodegenJobAsset asset)
The CodegenJobAsset
to use for the code generation job.
asset
- The CodegenJobAsset
to use for the code generation job.public Map<String,String> getTags()
One or more key-value pairs to use when tagging the code generation job.
public void setTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the code generation job.
tags
- One or more key-value pairs to use when tagging the code generation job.public CodegenJob withTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the code generation job.
tags
- One or more key-value pairs to use when tagging the code generation job.public CodegenJob addTagsEntry(String key, String value)
public CodegenJob clearTagsEntries()
public void setCreatedAt(Date createdAt)
The time that the code generation job was created.
createdAt
- The time that the code generation job was created.public Date getCreatedAt()
The time that the code generation job was created.
public CodegenJob withCreatedAt(Date createdAt)
The time that the code generation job was created.
createdAt
- The time that the code generation job was created.public void setModifiedAt(Date modifiedAt)
The time that the code generation job was modified.
modifiedAt
- The time that the code generation job was modified.public Date getModifiedAt()
The time that the code generation job was modified.
public CodegenJob withModifiedAt(Date modifiedAt)
The time that the code generation job was modified.
modifiedAt
- The time that the code generation job was modified.public List<CodegenDependency> getDependencies()
Lists the dependency packages that may be required for the project code to run.
public void setDependencies(Collection<CodegenDependency> dependencies)
Lists the dependency packages that may be required for the project code to run.
dependencies
- Lists the dependency packages that may be required for the project code to run.public CodegenJob withDependencies(CodegenDependency... dependencies)
Lists the dependency packages that may be required for the project code to run.
NOTE: This method appends the values to the existing list (if any). Use
setDependencies(java.util.Collection)
or withDependencies(java.util.Collection)
if you want to
override the existing values.
dependencies
- Lists the dependency packages that may be required for the project code to run.public CodegenJob withDependencies(Collection<CodegenDependency> dependencies)
Lists the dependency packages that may be required for the project code to run.
dependencies
- Lists the dependency packages that may be required for the project code to run.public String toString()
toString
in class Object
Object.toString()
public CodegenJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.