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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartDeploymentRequest.BuilderappId(String appId)The unique ID for an Amplify app.StartDeploymentRequest.BuilderbranchName(String branchName)The name of the branch to use for the deployment job.StartDeploymentRequest.BuilderjobId(String jobId)The job ID for this deployment that is generated by theCreateDeploymentrequest.StartDeploymentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartDeploymentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartDeploymentRequest.BuildersourceUrl(String sourceUrl)The source URL for the deployment that is used when callingStartDeploymentwithoutCreateDeployment.StartDeploymentRequest.BuildersourceUrlType(String sourceUrlType)The type of source specified by thesourceURL.StartDeploymentRequest.BuildersourceUrlType(SourceUrlType sourceUrlType)The type of source specified by thesourceURL.-
Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyRequest.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
appId
StartDeploymentRequest.Builder appId(String 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
StartDeploymentRequest.Builder branchName(String branchName)
The name of the branch to use for the deployment job.
- Parameters:
branchName- The name of the branch to use for the deployment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
StartDeploymentRequest.Builder jobId(String jobId)
The job ID for this deployment that is generated by the
CreateDeploymentrequest.- Parameters:
jobId- The job ID for this deployment that is generated by theCreateDeploymentrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceUrl
StartDeploymentRequest.Builder sourceUrl(String sourceUrl)
The source URL for the deployment that is used when calling
StartDeploymentwithoutCreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.- Parameters:
sourceUrl- The source URL for the deployment that is used when callingStartDeploymentwithoutCreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceUrlType
StartDeploymentRequest.Builder sourceUrlType(String sourceUrlType)
The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.- Parameters:
sourceUrlType- The type of source specified by thesourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceUrlType,SourceUrlType
-
sourceUrlType
StartDeploymentRequest.Builder sourceUrlType(SourceUrlType sourceUrlType)
The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.- Parameters:
sourceUrlType- The type of source specified by thesourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceUrlType,SourceUrlType
-
overrideConfiguration
StartDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-