Interface CodegenJob.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CodegenJob.Builder,CodegenJob>,SdkBuilder<CodegenJob.Builder,CodegenJob>,SdkPojo
- Enclosing class:
- CodegenJob
public static interface CodegenJob.Builder extends SdkPojo, CopyableBuilder<CodegenJob.Builder,CodegenJob>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CodegenJob.BuilderappId(String appId)The ID of the Amplify app associated with the code generation job.default CodegenJob.Builderasset(Consumer<CodegenJobAsset.Builder> asset)TheCodegenJobAssetto use for the code generation job.CodegenJob.Builderasset(CodegenJobAsset asset)TheCodegenJobAssetto use for the code generation job.CodegenJob.BuilderautoGenerateForms(Boolean autoGenerateForms)Specifies whether to autogenerate forms in the code generation job.CodegenJob.BuildercreatedAt(Instant createdAt)The time that the code generation job was created.CodegenJob.Builderdependencies(Collection<CodegenDependency> dependencies)Lists the dependency packages that may be required for the project code to run.CodegenJob.Builderdependencies(Consumer<CodegenDependency.Builder>... dependencies)Lists the dependency packages that may be required for the project code to run.CodegenJob.Builderdependencies(CodegenDependency... dependencies)Lists the dependency packages that may be required for the project code to run.CodegenJob.BuilderenvironmentName(String environmentName)The name of the backend environment associated with the code generation job.default CodegenJob.Builderfeatures(Consumer<CodegenFeatureFlags.Builder> features)Sets the value of the Features property for this object.CodegenJob.Builderfeatures(CodegenFeatureFlags features)Sets the value of the Features property for this object.default CodegenJob.BuildergenericDataSchema(Consumer<CodegenJobGenericDataSchema.Builder> genericDataSchema)Sets the value of the GenericDataSchema property for this object.CodegenJob.BuildergenericDataSchema(CodegenJobGenericDataSchema genericDataSchema)Sets the value of the GenericDataSchema property for this object.CodegenJob.Builderid(String id)The unique ID for the code generation job.CodegenJob.BuildermodifiedAt(Instant modifiedAt)The time that the code generation job was modified.default CodegenJob.BuilderrenderConfig(Consumer<CodegenJobRenderConfig.Builder> renderConfig)Sets the value of the RenderConfig property for this object.CodegenJob.BuilderrenderConfig(CodegenJobRenderConfig renderConfig)Sets the value of the RenderConfig property for this object.CodegenJob.Builderstatus(String status)The status of the code generation job.CodegenJob.Builderstatus(CodegenJobStatus status)The status of the code generation job.CodegenJob.BuilderstatusMessage(String statusMessage)The customized status message for the code generation job.CodegenJob.Buildertags(Map<String,String> tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
CodegenJob.Builder id(String 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
CodegenJob.Builder appId(String 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
CodegenJob.Builder environmentName(String 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
CodegenJob.Builder renderConfig(CodegenJobRenderConfig 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
default CodegenJob.Builder renderConfig(Consumer<CodegenJobRenderConfig.Builder> renderConfig)
Sets the value of the RenderConfig property for this object. This is a convenience method that creates an instance of theCodegenJobRenderConfig.Builderavoiding the need to create one manually viaCodegenJobRenderConfig.builder().When the
Consumercompletes,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:
renderConfig(CodegenJobRenderConfig)
-
genericDataSchema
CodegenJob.Builder genericDataSchema(CodegenJobGenericDataSchema 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.Builderavoiding the need to create one manually viaCodegenJobGenericDataSchema.builder().When the
Consumercompletes,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:
genericDataSchema(CodegenJobGenericDataSchema)
-
autoGenerateForms
CodegenJob.Builder autoGenerateForms(Boolean 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
CodegenJob.Builder features(CodegenFeatureFlags 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
default CodegenJob.Builder features(Consumer<CodegenFeatureFlags.Builder> features)
Sets the value of the Features property for this object. This is a convenience method that creates an instance of theCodegenFeatureFlags.Builderavoiding the need to create one manually viaCodegenFeatureFlags.builder().When the
Consumercompletes,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:
features(CodegenFeatureFlags)
-
status
CodegenJob.Builder status(String 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:
CodegenJobStatus,CodegenJobStatus
-
status
CodegenJob.Builder status(CodegenJobStatus 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:
CodegenJobStatus,CodegenJobStatus
-
statusMessage
CodegenJob.Builder statusMessage(String 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
CodegenJob.Builder asset(CodegenJobAsset asset)
The
CodegenJobAssetto use for the code generation job.- Parameters:
asset- TheCodegenJobAssetto use for the code generation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asset
default CodegenJob.Builder asset(Consumer<CodegenJobAsset.Builder> asset)
The
This is a convenience method that creates an instance of theCodegenJobAssetto use for the code generation job.CodegenJobAsset.Builderavoiding the need to create one manually viaCodegenJobAsset.builder().When the
Consumercompletes,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:
asset(CodegenJobAsset)
-
tags
CodegenJob.Builder tags(Map<String,String> 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
CodegenJob.Builder createdAt(Instant 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
CodegenJob.Builder modifiedAt(Instant 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
CodegenJob.Builder dependencies(Collection<CodegenDependency> 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
CodegenJob.Builder dependencies(CodegenDependency... 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
CodegenJob.Builder dependencies(Consumer<CodegenDependency.Builder>... 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.Builderavoiding the need to create one manually viaCodegenDependency.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dependencies(List.) - 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:
#dependencies(java.util.Collection)
-
-