CopyableBuilder<CreateApplicationVersionRequest.Builder,CreateApplicationVersionRequest>
, SdkBuilder<CreateApplicationVersionRequest.Builder,CreateApplicationVersionRequest>
public static interface CreateApplicationVersionRequest.Builder extends CopyableBuilder<CreateApplicationVersionRequest.Builder,CreateApplicationVersionRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateApplicationVersionRequest.Builder |
applicationName(String applicationName) |
The name of the application.
|
CreateApplicationVersionRequest.Builder |
autoCreateApplication(Boolean autoCreateApplication) |
Set to
true to create an application with the specified name if it doesn't already exist. |
CreateApplicationVersionRequest.Builder |
buildConfiguration(BuildConfiguration buildConfiguration) |
Settings for an AWS CodeBuild build.
|
CreateApplicationVersionRequest.Builder |
description(String description) |
Describes this version.
|
CreateApplicationVersionRequest.Builder |
process(Boolean process) |
Preprocesses and validates the environment manifest and configuration files in the source bundle.
|
CreateApplicationVersionRequest.Builder |
sourceBuildInformation(SourceBuildInformation sourceBuildInformation) |
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
|
CreateApplicationVersionRequest.Builder |
sourceBundle(S3Location sourceBundle) |
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
|
CreateApplicationVersionRequest.Builder |
versionLabel(String versionLabel) |
A label identifying this version.
|
copy
apply, build
CreateApplicationVersionRequest.Builder applicationName(String applicationName)
The name of the application. If no application is found with this name, and
AutoCreateApplication
is false
, returns an InvalidParameterValue
error.
applicationName
- The name of the application. If no application is found with this name, and
AutoCreateApplication
is false
, returns an
InvalidParameterValue
error.CreateApplicationVersionRequest.Builder versionLabel(String versionLabel)
A label identifying this version.
Constraint: Must be unique per application. If an application version already exists with this label for the
specified application, AWS Elastic Beanstalk returns an InvalidParameterValue
error.
versionLabel
- A label identifying this version.
Constraint: Must be unique per application. If an application version already exists with this label
for the specified application, AWS Elastic Beanstalk returns an InvalidParameterValue
error.
CreateApplicationVersionRequest.Builder description(String description)
Describes this version.
description
- Describes this version.CreateApplicationVersionRequest.Builder sourceBuildInformation(SourceBuildInformation sourceBuildInformation)
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
sourceBuildInformation
- Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application
version.CreateApplicationVersionRequest.Builder sourceBundle(S3Location sourceBundle)
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
The Amazon S3 bucket must be in the same region as the environment.
Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with
SourceBuildInformation
), but not both. If neither SourceBundle
nor
SourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.
sourceBundle
- The Amazon S3 bucket and key that identify the location of the source bundle for this version.
The Amazon S3 bucket must be in the same region as the environment.
Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with
SourceBuildInformation
), but not both. If neither SourceBundle
nor
SourceBuildInformation
are provided, Elastic Beanstalk uses a sample application.
CreateApplicationVersionRequest.Builder buildConfiguration(BuildConfiguration buildConfiguration)
Settings for an AWS CodeBuild build.
buildConfiguration
- Settings for an AWS CodeBuild build.CreateApplicationVersionRequest.Builder autoCreateApplication(Boolean autoCreateApplication)
Set to true
to create an application with the specified name if it doesn't already exist.
autoCreateApplication
- Set to true
to create an application with the specified name if it doesn't already exist.CreateApplicationVersionRequest.Builder process(Boolean process)
Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
process
- Preprocesses and validates the environment manifest and configuration files in the source bundle.
Validating configuration files can identify issues prior to deploying the application version to an
environment.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.