public static interface CreateApplicationVersionRequest.Builder extends ElasticBeanstalkRequest.Builder, CopyableBuilder<CreateApplicationVersionRequest.Builder,CreateApplicationVersionRequest>
Modifier and Type | Method and 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.
|
default CreateApplicationVersionRequest.Builder |
buildConfiguration(Consumer<BuildConfiguration.Builder> buildConfiguration)
Settings for an AWS CodeBuild build.
|
CreateApplicationVersionRequest.Builder |
description(String description)
Describes this version.
|
CreateApplicationVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateApplicationVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateApplicationVersionRequest.Builder |
process(Boolean process)
Preprocesses and validates the environment manifest and configuration files in the source bundle.
|
default CreateApplicationVersionRequest.Builder |
sourceBuildInformation(Consumer<SourceBuildInformation.Builder> sourceBuildInformation)
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application 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.
|
default CreateApplicationVersionRequest.Builder |
sourceBundle(Consumer<S3Location.Builder> sourceBundle)
The Amazon S3 bucket and key that identify the location of the source bundle for this 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.
|
build
overrideConfiguration
copy
applyMutation, 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.default CreateApplicationVersionRequest.Builder sourceBuildInformation(Consumer<SourceBuildInformation.Builder> sourceBuildInformation)
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
This is a convenience that creates an instance of theSourceBuildInformation.Builder
avoiding the
need to create one manually via SourceBuildInformation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to sourceBuildInformation(SourceBuildInformation)
.sourceBuildInformation
- a consumer that will call methods on SourceBuildInformation.Builder
sourceBuildInformation(SourceBuildInformation)
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.
default CreateApplicationVersionRequest.Builder sourceBundle(Consumer<S3Location.Builder> 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.
S3Location.Builder
avoiding the need to create
one manually via S3Location.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to sourceBundle(S3Location)
.sourceBundle
- a consumer that will call methods on S3Location.Builder
sourceBundle(S3Location)
CreateApplicationVersionRequest.Builder buildConfiguration(BuildConfiguration buildConfiguration)
Settings for an AWS CodeBuild build.
buildConfiguration
- Settings for an AWS CodeBuild build.default CreateApplicationVersionRequest.Builder buildConfiguration(Consumer<BuildConfiguration.Builder> buildConfiguration)
Settings for an AWS CodeBuild build.
This is a convenience that creates an instance of theBuildConfiguration.Builder
avoiding the need to
create one manually via BuildConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to buildConfiguration(BuildConfiguration)
.buildConfiguration
- a consumer that will call methods on BuildConfiguration.Builder
buildConfiguration(BuildConfiguration)
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.CreateApplicationVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateApplicationVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.