Interface StartCodegenJobRequest.Builder
- All Superinterfaces:
AmplifyUiBuilderRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<StartCodegenJobRequest.Builder,
,StartCodegenJobRequest> SdkBuilder<StartCodegenJobRequest.Builder,
,StartCodegenJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartCodegenJobRequest
public static interface StartCodegenJobRequest.Builder
extends AmplifyUiBuilderRequest.Builder, SdkPojo, CopyableBuilder<StartCodegenJobRequest.Builder,StartCodegenJobRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID for the Amplify app.clientToken
(String clientToken) The idempotency token used to ensure that the code generation job request completes only once.default StartCodegenJobRequest.Builder
codegenJobToCreate
(Consumer<StartCodegenJobData.Builder> codegenJobToCreate) The code generation job resource configuration.codegenJobToCreate
(StartCodegenJobData codegenJobToCreate) The code generation job resource configuration.environmentName
(String environmentName) The name of the backend environment that is a part of the Amplify app.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
appId
The unique ID for the Amplify app.
- Parameters:
appId
- The unique ID for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the backend environment that is a part of the Amplify app.
- Parameters:
environmentName
- The name of the backend environment that is a part of the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The idempotency token used to ensure that the code generation job request completes only once.
- Parameters:
clientToken
- The idempotency token used to ensure that the code generation job request completes only once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codegenJobToCreate
The code generation job resource configuration.
- Parameters:
codegenJobToCreate
- The code generation job resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codegenJobToCreate
default StartCodegenJobRequest.Builder codegenJobToCreate(Consumer<StartCodegenJobData.Builder> codegenJobToCreate) The code generation job resource configuration.
This is a convenience method that creates an instance of theStartCodegenJobData.Builder
avoiding the need to create one manually viaStartCodegenJobData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodegenJobToCreate(StartCodegenJobData)
.- Parameters:
codegenJobToCreate
- a consumer that will call methods onStartCodegenJobData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartCodegenJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartCodegenJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-