
com.pulumi.azurenative.awsconnector.outputs.AwsElasticBeanstalkConfigurationTemplatePropertiesResponse Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.ConfigurationOptionSettingResponse;
import com.pulumi.azurenative.awsconnector.outputs.SourceConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AwsElasticBeanstalkConfigurationTemplatePropertiesResponse {
/**
* @return The name of the Elastic Beanstalk application to associate with this configuration template.
*
*/
private @Nullable String applicationName;
/**
* @return An optional description for this configuration.
*
*/
private @Nullable String description;
/**
* @return 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.
*
*/
private @Nullable String environmentId;
/**
* @return 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](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) in the AWS Elastic Beanstalk Developer Guide.
*
*/
private @Nullable List optionSettings;
/**
* @return The Amazon Resource Name (ARN) of the custom platform. For more information, see [Custom Platforms](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html) in the AWS Elastic Beanstalk Developer Guide.
*
*/
private @Nullable String platformArn;
/**
* @return 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](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html) 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.
*
*/
private @Nullable String solutionStackName;
/**
* @return 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.
*
*/
private @Nullable SourceConfigurationResponse sourceConfiguration;
/**
* @return The name of the configuration template
*
*/
private @Nullable String templateName;
private AwsElasticBeanstalkConfigurationTemplatePropertiesResponse() {}
/**
* @return The name of the Elastic Beanstalk application to associate with this configuration template.
*
*/
public Optional applicationName() {
return Optional.ofNullable(this.applicationName);
}
/**
* @return An optional description for this configuration.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return 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.
*
*/
public Optional environmentId() {
return Optional.ofNullable(this.environmentId);
}
/**
* @return 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](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) in the AWS Elastic Beanstalk Developer Guide.
*
*/
public List optionSettings() {
return this.optionSettings == null ? List.of() : this.optionSettings;
}
/**
* @return The Amazon Resource Name (ARN) of the custom platform. For more information, see [Custom Platforms](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html) in the AWS Elastic Beanstalk Developer Guide.
*
*/
public Optional platformArn() {
return Optional.ofNullable(this.platformArn);
}
/**
* @return 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](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html) 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.
*
*/
public Optional solutionStackName() {
return Optional.ofNullable(this.solutionStackName);
}
/**
* @return 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.
*
*/
public Optional sourceConfiguration() {
return Optional.ofNullable(this.sourceConfiguration);
}
/**
* @return The name of the configuration template
*
*/
public Optional templateName() {
return Optional.ofNullable(this.templateName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AwsElasticBeanstalkConfigurationTemplatePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String applicationName;
private @Nullable String description;
private @Nullable String environmentId;
private @Nullable List optionSettings;
private @Nullable String platformArn;
private @Nullable String solutionStackName;
private @Nullable SourceConfigurationResponse sourceConfiguration;
private @Nullable String templateName;
public Builder() {}
public Builder(AwsElasticBeanstalkConfigurationTemplatePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.applicationName = defaults.applicationName;
this.description = defaults.description;
this.environmentId = defaults.environmentId;
this.optionSettings = defaults.optionSettings;
this.platformArn = defaults.platformArn;
this.solutionStackName = defaults.solutionStackName;
this.sourceConfiguration = defaults.sourceConfiguration;
this.templateName = defaults.templateName;
}
@CustomType.Setter
public Builder applicationName(@Nullable String applicationName) {
this.applicationName = applicationName;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder environmentId(@Nullable String environmentId) {
this.environmentId = environmentId;
return this;
}
@CustomType.Setter
public Builder optionSettings(@Nullable List optionSettings) {
this.optionSettings = optionSettings;
return this;
}
public Builder optionSettings(ConfigurationOptionSettingResponse... optionSettings) {
return optionSettings(List.of(optionSettings));
}
@CustomType.Setter
public Builder platformArn(@Nullable String platformArn) {
this.platformArn = platformArn;
return this;
}
@CustomType.Setter
public Builder solutionStackName(@Nullable String solutionStackName) {
this.solutionStackName = solutionStackName;
return this;
}
@CustomType.Setter
public Builder sourceConfiguration(@Nullable SourceConfigurationResponse sourceConfiguration) {
this.sourceConfiguration = sourceConfiguration;
return this;
}
@CustomType.Setter
public Builder templateName(@Nullable String templateName) {
this.templateName = templateName;
return this;
}
public AwsElasticBeanstalkConfigurationTemplatePropertiesResponse build() {
final var _resultValue = new AwsElasticBeanstalkConfigurationTemplatePropertiesResponse();
_resultValue.applicationName = applicationName;
_resultValue.description = description;
_resultValue.environmentId = environmentId;
_resultValue.optionSettings = optionSettings;
_resultValue.platformArn = platformArn;
_resultValue.solutionStackName = solutionStackName;
_resultValue.sourceConfiguration = sourceConfiguration;
_resultValue.templateName = templateName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy