Interface StartDeploymentRequest.Builder
- All Superinterfaces:
AmplifyRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<StartDeploymentRequest.Builder,,StartDeploymentRequest> SdkBuilder<StartDeploymentRequest.Builder,,StartDeploymentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartDeploymentRequest
public static interface StartDeploymentRequest.Builder
extends AmplifyRequest.Builder, SdkPojo, CopyableBuilder<StartDeploymentRequest.Builder,StartDeploymentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID for an Amplify app.branchName(String branchName) The name of the branch to use for the job.The job ID for this deployment, generated by the create deployment request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The source URL for this deployment, used when calling start deployment without create deployment.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
appId
The unique ID for an Amplify app.
- Parameters:
appId- The unique ID for an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchName
The name of the branch to use for the job.
- Parameters:
branchName- The name of the branch to use for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The job ID for this deployment, generated by the create deployment request.
- Parameters:
jobId- The job ID for this deployment, generated by the create deployment request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceUrl
The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
- Parameters:
sourceUrl- The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-