Struct aws_sdk_elasticbeanstalk::operation::create_configuration_template::builders::CreateConfigurationTemplateInputBuilder
source · #[non_exhaustive]pub struct CreateConfigurationTemplateInputBuilder { /* private fields */ }
Expand description
A builder for CreateConfigurationTemplateInput
.
Implementations§
source§impl CreateConfigurationTemplateInputBuilder
impl CreateConfigurationTemplateInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the Elastic Beanstalk application to associate with this configuration template.
This field is required.sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the Elastic Beanstalk application to associate with this configuration template.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the Elastic Beanstalk application to associate with this configuration template.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the configuration template.
Constraint: This name must be unique per application.
This field is required.sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the configuration template.
Constraint: This name must be unique per application.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the configuration template.
Constraint: This name must be unique per application.
sourcepub fn solution_stack_name(self, input: impl Into<String>) -> Self
pub fn solution_stack_name(self, input: impl Into<String>) -> Self
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the operating system, runtime, and application server for a configuration template. It also determines the set of configuration options as well as the possible and default values. For more information, see Supported Platforms in the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
, EnvironmentId
, or SourceConfiguration
.
Use the ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
sourcepub fn set_solution_stack_name(self, input: Option<String>) -> Self
pub fn set_solution_stack_name(self, input: Option<String>) -> Self
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the operating system, runtime, and application server for a configuration template. It also determines the set of configuration options as well as the possible and default values. For more information, see Supported Platforms in the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
, EnvironmentId
, or SourceConfiguration
.
Use the ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
sourcepub fn get_solution_stack_name(&self) -> &Option<String>
pub fn get_solution_stack_name(&self) -> &Option<String>
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the operating system, runtime, and application server for a configuration template. It also determines the set of configuration options as well as the possible and default values. For more information, see Supported Platforms in the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
, EnvironmentId
, or SourceConfiguration
.
Use the ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
sourcepub fn platform_arn(self, input: impl Into<String>) -> Self
pub fn platform_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
sourcepub fn set_platform_arn(self, input: Option<String>) -> Self
pub fn set_platform_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
sourcepub fn get_platform_arn(&self) -> &Option<String>
pub fn get_platform_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
sourcepub fn source_configuration(self, input: SourceConfiguration) -> Self
pub fn source_configuration(self, input: SourceConfiguration) -> Self
An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
, EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
sourcepub fn set_source_configuration(
self,
input: Option<SourceConfiguration>,
) -> Self
pub fn set_source_configuration( self, input: Option<SourceConfiguration>, ) -> Self
An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
, EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
sourcepub fn get_source_configuration(&self) -> &Option<SourceConfiguration>
pub fn get_source_configuration(&self) -> &Option<SourceConfiguration>
An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
, EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of an environment whose settings you want to use to create the configuration template. You must specify EnvironmentId
if you don't specify PlatformArn
, SolutionStackName
, or SourceConfiguration
.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The ID of an environment whose settings you want to use to create the configuration template. You must specify EnvironmentId
if you don't specify PlatformArn
, SolutionStackName
, or SourceConfiguration
.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of an environment whose settings you want to use to create the configuration template. You must specify EnvironmentId
if you don't specify PlatformArn
, SolutionStackName
, or SourceConfiguration
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional description for this configuration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional description for this configuration.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
An optional description for this configuration.
sourcepub fn option_settings(self, input: ConfigurationOptionSetting) -> Self
pub fn option_settings(self, input: ConfigurationOptionSetting) -> Self
Appends an item to option_settings
.
To override the contents of this collection use set_option_settings
.
Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide.
sourcepub fn set_option_settings(
self,
input: Option<Vec<ConfigurationOptionSetting>>,
) -> Self
pub fn set_option_settings( self, input: Option<Vec<ConfigurationOptionSetting>>, ) -> Self
Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide.
sourcepub fn get_option_settings(&self) -> &Option<Vec<ConfigurationOptionSetting>>
pub fn get_option_settings(&self) -> &Option<Vec<ConfigurationOptionSetting>>
Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Specifies the tags applied to the configuration template.
Specifies the tags applied to the configuration template.
Specifies the tags applied to the configuration template.
sourcepub fn build(self) -> Result<CreateConfigurationTemplateInput, BuildError>
pub fn build(self) -> Result<CreateConfigurationTemplateInput, BuildError>
Consumes the builder and constructs a CreateConfigurationTemplateInput
.
source§impl CreateConfigurationTemplateInputBuilder
impl CreateConfigurationTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateConfigurationTemplateOutput, SdkError<CreateConfigurationTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateConfigurationTemplateOutput, SdkError<CreateConfigurationTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateConfigurationTemplateInputBuilder
impl Clone for CreateConfigurationTemplateInputBuilder
source§fn clone(&self) -> CreateConfigurationTemplateInputBuilder
fn clone(&self) -> CreateConfigurationTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateConfigurationTemplateInputBuilder
impl Default for CreateConfigurationTemplateInputBuilder
source§fn default() -> CreateConfigurationTemplateInputBuilder
fn default() -> CreateConfigurationTemplateInputBuilder
source§impl PartialEq for CreateConfigurationTemplateInputBuilder
impl PartialEq for CreateConfigurationTemplateInputBuilder
source§fn eq(&self, other: &CreateConfigurationTemplateInputBuilder) -> bool
fn eq(&self, other: &CreateConfigurationTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateConfigurationTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for CreateConfigurationTemplateInputBuilder
impl RefUnwindSafe for CreateConfigurationTemplateInputBuilder
impl Send for CreateConfigurationTemplateInputBuilder
impl Sync for CreateConfigurationTemplateInputBuilder
impl Unpin for CreateConfigurationTemplateInputBuilder
impl UnwindSafe for CreateConfigurationTemplateInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more