pub struct Builder { /* private fields */ }
Expand description
A builder for ApplicationVersionDescription
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn application_version_arn(self, input: impl Into<String>) -> Self
pub fn application_version_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the application version.
sourcepub fn set_application_version_arn(self, input: Option<String>) -> Self
pub fn set_application_version_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the application version.
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application to which the application version belongs.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application to which the application version belongs.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the application version.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the application version.
sourcepub fn version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
A unique identifier for the application version.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
A unique identifier for the application version.
sourcepub fn source_build_information(self, input: SourceBuildInformation) -> Self
pub fn source_build_information(self, input: SourceBuildInformation) -> Self
If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.
sourcepub fn set_source_build_information(
self,
input: Option<SourceBuildInformation>
) -> Self
pub fn set_source_build_information(
self,
input: Option<SourceBuildInformation>
) -> Self
If the version's source code was retrieved from AWS CodeCommit, the location of the source code for the application version.
sourcepub fn build_arn(self, input: impl Into<String>) -> Self
pub fn build_arn(self, input: impl Into<String>) -> Self
Reference to the artifact from the AWS CodeBuild build.
sourcepub fn set_build_arn(self, input: Option<String>) -> Self
pub fn set_build_arn(self, input: Option<String>) -> Self
Reference to the artifact from the AWS CodeBuild build.
sourcepub fn source_bundle(self, input: S3Location) -> Self
pub fn source_bundle(self, input: S3Location) -> Self
The storage location of the application version's source bundle in Amazon S3.
sourcepub fn set_source_bundle(self, input: Option<S3Location>) -> Self
pub fn set_source_bundle(self, input: Option<S3Location>) -> Self
The storage location of the application version's source bundle in Amazon S3.
sourcepub fn date_created(self, input: DateTime) -> Self
pub fn date_created(self, input: DateTime) -> Self
The creation date of the application version.
sourcepub fn set_date_created(self, input: Option<DateTime>) -> Self
pub fn set_date_created(self, input: Option<DateTime>) -> Self
The creation date of the application version.
sourcepub fn date_updated(self, input: DateTime) -> Self
pub fn date_updated(self, input: DateTime) -> Self
The last modified date of the application version.
sourcepub fn set_date_updated(self, input: Option<DateTime>) -> Self
pub fn set_date_updated(self, input: Option<DateTime>) -> Self
The last modified date of the application version.
sourcepub fn status(self, input: ApplicationVersionStatus) -> Self
pub fn status(self, input: ApplicationVersionStatus) -> Self
The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specified True
for the Process
parameter of the CreateApplicationVersion
action. The following list describes the possible values.
-
Unprocessed
– Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment. -
Processing
– Elastic Beanstalk is currently processing the application version. -
Building
– Application version is currently undergoing an AWS CodeBuild build. -
Processed
– Elastic Beanstalk was successfully pre-processed and validated. -
Failed
– Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.
sourcepub fn set_status(self, input: Option<ApplicationVersionStatus>) -> Self
pub fn set_status(self, input: Option<ApplicationVersionStatus>) -> Self
The processing status of the application version. Reflects the state of the application version during its creation. Many of the values are only applicable if you specified True
for the Process
parameter of the CreateApplicationVersion
action. The following list describes the possible values.
-
Unprocessed
– Application version wasn't pre-processed or validated. Elastic Beanstalk will validate configuration files during deployment of the application version to an environment. -
Processing
– Elastic Beanstalk is currently processing the application version. -
Building
– Application version is currently undergoing an AWS CodeBuild build. -
Processed
– Elastic Beanstalk was successfully pre-processed and validated. -
Failed
– Either the AWS CodeBuild build failed or configuration files didn't pass validation. This application version isn't usable.
sourcepub fn build(self) -> ApplicationVersionDescription
pub fn build(self) -> ApplicationVersionDescription
Consumes the builder and constructs a ApplicationVersionDescription
.