Interface CodegenJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CodegenJob.Builder,
,CodegenJob> SdkBuilder<CodegenJob.Builder,
,CodegenJob> SdkPojo
- Enclosing class:
CodegenJob
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amplify app associated with the code generation job.default CodegenJob.Builder
asset
(Consumer<CodegenJobAsset.Builder> asset) TheCodegenJobAsset
to use for the code generation job.asset
(CodegenJobAsset asset) TheCodegenJobAsset
to use for the code generation job.autoGenerateForms
(Boolean autoGenerateForms) Specifies whether to autogenerate forms in the code generation job.The time that the code generation job was created.dependencies
(Collection<CodegenDependency> dependencies) Lists the dependency packages that may be required for the project code to run.dependencies
(Consumer<CodegenDependency.Builder>... dependencies) Lists the dependency packages that may be required for the project code to run.dependencies
(CodegenDependency... dependencies) Lists the dependency packages that may be required for the project code to run.environmentName
(String environmentName) The name of the backend environment associated with the code generation job.default CodegenJob.Builder
features
(Consumer<CodegenFeatureFlags.Builder> features) Sets the value of the Features property for this object.features
(CodegenFeatureFlags features) Sets the value of the Features property for this object.default CodegenJob.Builder
genericDataSchema
(Consumer<CodegenJobGenericDataSchema.Builder> genericDataSchema) Sets the value of the GenericDataSchema property for this object.genericDataSchema
(CodegenJobGenericDataSchema genericDataSchema) Sets the value of the GenericDataSchema property for this object.The unique ID for the code generation job.modifiedAt
(Instant modifiedAt) The time that the code generation job was modified.default CodegenJob.Builder
renderConfig
(Consumer<CodegenJobRenderConfig.Builder> renderConfig) Sets the value of the RenderConfig property for this object.renderConfig
(CodegenJobRenderConfig renderConfig) Sets the value of the RenderConfig property for this object.The status of the code generation job.status
(CodegenJobStatus status) The status of the code generation job.statusMessage
(String statusMessage) The customized status message for the code generation job.One or more key-value pairs to use when tagging the code generation job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The unique ID for the code generation job.
- Parameters:
id
- The unique ID for the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appId
The ID of the Amplify app associated with the code generation job.
- Parameters:
appId
- The ID of the Amplify app associated with the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the backend environment associated with the code generation job.
- Parameters:
environmentName
- The name of the backend environment associated with the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renderConfig
Sets the value of the RenderConfig property for this object.- Parameters:
renderConfig
- The new value for the RenderConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renderConfig
Sets the value of the RenderConfig property for this object. This is a convenience method that creates an instance of theCodegenJobRenderConfig.Builder
avoiding the need to create one manually viaCodegenJobRenderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torenderConfig(CodegenJobRenderConfig)
.- Parameters:
renderConfig
- a consumer that will call methods onCodegenJobRenderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
genericDataSchema
Sets the value of the GenericDataSchema property for this object.- Parameters:
genericDataSchema
- The new value for the GenericDataSchema property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
genericDataSchema
default CodegenJob.Builder genericDataSchema(Consumer<CodegenJobGenericDataSchema.Builder> genericDataSchema) Sets the value of the GenericDataSchema property for this object. This is a convenience method that creates an instance of theCodegenJobGenericDataSchema.Builder
avoiding the need to create one manually viaCodegenJobGenericDataSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togenericDataSchema(CodegenJobGenericDataSchema)
.- Parameters:
genericDataSchema
- a consumer that will call methods onCodegenJobGenericDataSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoGenerateForms
Specifies whether to autogenerate forms in the code generation job.
- Parameters:
autoGenerateForms
- Specifies whether to autogenerate forms in the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
Sets the value of the Features property for this object.- Parameters:
features
- The new value for the Features property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
Sets the value of the Features property for this object. This is a convenience method that creates an instance of theCodegenFeatureFlags.Builder
avoiding the need to create one manually viaCodegenFeatureFlags.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeatures(CodegenFeatureFlags)
.- Parameters:
features
- a consumer that will call methods onCodegenFeatureFlags.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the code generation job.
- Parameters:
status
- The status of the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the code generation job.
- Parameters:
status
- The status of the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The customized status message for the code generation job.
- Parameters:
statusMessage
- The customized status message for the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asset
The
CodegenJobAsset
to use for the code generation job.- Parameters:
asset
- TheCodegenJobAsset
to use for the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asset
The
This is a convenience method that creates an instance of theCodegenJobAsset
to use for the code generation job.CodegenJobAsset.Builder
avoiding the need to create one manually viaCodegenJobAsset.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toasset(CodegenJobAsset)
.- Parameters:
asset
- a consumer that will call methods onCodegenJobAsset.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
One or more key-value pairs to use when tagging the code generation job.
- Parameters:
tags
- One or more key-value pairs to use when tagging the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time that the code generation job was created.
- Parameters:
createdAt
- The time that the code generation job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The time that the code generation job was modified.
- Parameters:
modifiedAt
- The time that the code generation job was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencies
Lists the dependency packages that may be required for the project code to run.
- Parameters:
dependencies
- Lists the dependency packages that may be required for the project code to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencies
Lists the dependency packages that may be required for the project code to run.
- Parameters:
dependencies
- Lists the dependency packages that may be required for the project code to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencies
Lists the dependency packages that may be required for the project code to run.
This is a convenience method that creates an instance of theCodegenDependency.Builder
avoiding the need to create one manually viaCodegenDependency.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todependencies(List<CodegenDependency>)
.- Parameters:
dependencies
- a consumer that will call methods onCodegenDependency.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-