public static interface CodegenJob.Builder extends SdkPojo, CopyableBuilder<CodegenJob.Builder,CodegenJob>
| Modifier and Type | Method and Description |
|---|---|
CodegenJob.Builder |
appId(String appId)
The ID of the Amplify app associated with the code generation job.
|
CodegenJob.Builder |
asset(CodegenJobAsset asset)
The
CodegenJobAsset to use for the code generation job. |
default CodegenJob.Builder |
asset(Consumer<CodegenJobAsset.Builder> asset)
The
CodegenJobAsset to use for the code generation job. |
CodegenJob.Builder |
autoGenerateForms(Boolean autoGenerateForms)
Specifies whether to autogenerate forms in the code generation job.
|
CodegenJob.Builder |
createdAt(Instant createdAt)
The time that the code generation job was created.
|
CodegenJob.Builder |
environmentName(String environmentName)
The name of the backend environment associated with the code generation job.
|
CodegenJob.Builder |
features(CodegenFeatureFlags features)
Sets the value of the Features property for this object.
|
default CodegenJob.Builder |
features(Consumer<CodegenFeatureFlags.Builder> features)
Sets the value of the Features property for this object.
|
CodegenJob.Builder |
genericDataSchema(CodegenJobGenericDataSchema genericDataSchema)
Sets the value of the GenericDataSchema property for this object.
|
default CodegenJob.Builder |
genericDataSchema(Consumer<CodegenJobGenericDataSchema.Builder> genericDataSchema)
Sets the value of the GenericDataSchema property for this object.
|
CodegenJob.Builder |
id(String id)
The unique ID for the code generation job.
|
CodegenJob.Builder |
modifiedAt(Instant modifiedAt)
The time that the code generation job was modified.
|
CodegenJob.Builder |
renderConfig(CodegenJobRenderConfig renderConfig)
Sets the value of the RenderConfig property for this object.
|
default CodegenJob.Builder |
renderConfig(Consumer<CodegenJobRenderConfig.Builder> renderConfig)
Sets the value of the RenderConfig property for this object.
|
CodegenJob.Builder |
status(CodegenJobStatus status)
The status of the code generation job.
|
CodegenJob.Builder |
status(String status)
The status of the code generation job.
|
CodegenJob.Builder |
statusMessage(String statusMessage)
The customized status message for the code generation job.
|
CodegenJob.Builder |
tags(Map<String,String> tags)
One or more key-value pairs to use when tagging the code generation job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCodegenJob.Builder id(String id)
The unique ID for the code generation job.
id - The unique ID for the code generation job.CodegenJob.Builder appId(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.CodegenJob.Builder environmentName(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.CodegenJob.Builder renderConfig(CodegenJobRenderConfig renderConfig)
renderConfig - The new value for the RenderConfig property for this object.default CodegenJob.Builder renderConfig(Consumer<CodegenJobRenderConfig.Builder> renderConfig)
CodegenJobRenderConfig.Builder avoiding
the need to create one manually via CodegenJobRenderConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to renderConfig(CodegenJobRenderConfig).
renderConfig - a consumer that will call methods on CodegenJobRenderConfig.BuilderrenderConfig(CodegenJobRenderConfig)CodegenJob.Builder genericDataSchema(CodegenJobGenericDataSchema genericDataSchema)
genericDataSchema - The new value for the GenericDataSchema property for this object.default CodegenJob.Builder genericDataSchema(Consumer<CodegenJobGenericDataSchema.Builder> genericDataSchema)
CodegenJobGenericDataSchema.Builder
avoiding the need to create one manually via CodegenJobGenericDataSchema.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to genericDataSchema(CodegenJobGenericDataSchema).
genericDataSchema - a consumer that will call methods on CodegenJobGenericDataSchema.BuildergenericDataSchema(CodegenJobGenericDataSchema)CodegenJob.Builder autoGenerateForms(Boolean autoGenerateForms)
Specifies whether to autogenerate forms in the code generation job.
autoGenerateForms - Specifies whether to autogenerate forms in the code generation job.CodegenJob.Builder features(CodegenFeatureFlags features)
features - The new value for the Features property for this object.default CodegenJob.Builder features(Consumer<CodegenFeatureFlags.Builder> features)
CodegenFeatureFlags.Builder avoiding the
need to create one manually via CodegenFeatureFlags.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to features(CodegenFeatureFlags).
features - a consumer that will call methods on CodegenFeatureFlags.Builderfeatures(CodegenFeatureFlags)CodegenJob.Builder status(String status)
The status of the code generation job.
status - The status of the code generation job.CodegenJobStatus,
CodegenJobStatusCodegenJob.Builder status(CodegenJobStatus status)
The status of the code generation job.
status - The status of the code generation job.CodegenJobStatus,
CodegenJobStatusCodegenJob.Builder statusMessage(String statusMessage)
The customized status message for the code generation job.
statusMessage - The customized status message for the code generation job.CodegenJob.Builder asset(CodegenJobAsset asset)
The CodegenJobAsset to use for the code generation job.
asset - The CodegenJobAsset to use for the code generation job.default CodegenJob.Builder asset(Consumer<CodegenJobAsset.Builder> asset)
The CodegenJobAsset to use for the code generation job.
CodegenJobAsset.Builder avoiding the
need to create one manually via CodegenJobAsset.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to asset(CodegenJobAsset).
asset - a consumer that will call methods on CodegenJobAsset.Builderasset(CodegenJobAsset)CodegenJob.Builder tags(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.CodegenJob.Builder createdAt(Instant createdAt)
The time that the code generation job was created.
createdAt - The time that the code generation job was created.CodegenJob.Builder modifiedAt(Instant modifiedAt)
The time that the code generation job was modified.
modifiedAt - The time that the code generation job was modified.Copyright © 2023. All rights reserved.