
com.pulumi.azurenative.awsconnector.outputs.AwsElasticBeanstalkEnvironmentPropertiesResponse 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.OptionSettingResponse;
import com.pulumi.azurenative.awsconnector.outputs.TagResponse;
import com.pulumi.azurenative.awsconnector.outputs.TierResponse;
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 AwsElasticBeanstalkEnvironmentPropertiesResponse {
/**
* @return The name of the application that is associated with this environment.
*
*/
private @Nullable String applicationName;
/**
* @return If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
*
*/
private @Nullable String cnamePrefix;
/**
* @return Your description for this environment.
*
*/
private @Nullable String description;
/**
* @return Property endpointURL
*
*/
private @Nullable String endpointURL;
/**
* @return A unique name for the environment.
*
*/
private @Nullable String environmentName;
/**
* @return The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
*
*/
private @Nullable String operationsRole;
/**
* @return Key-value pairs defining configuration options for this environment, such as the instance type.
*
*/
private @Nullable List optionSettings;
/**
* @return The Amazon Resource Name (ARN) of the custom platform to use with the environment.
*
*/
private @Nullable String platformArn;
/**
* @return The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
*
*/
private @Nullable String solutionStackName;
/**
* @return Specifies the tags applied to resources in the environment.
*
*/
private @Nullable List tags;
/**
* @return The name of the Elastic Beanstalk configuration template to use with the environment.
*
*/
private @Nullable String templateName;
/**
* @return Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
*
*/
private @Nullable TierResponse tier;
/**
* @return The name of the application version to deploy.
*
*/
private @Nullable String versionLabel;
private AwsElasticBeanstalkEnvironmentPropertiesResponse() {}
/**
* @return The name of the application that is associated with this environment.
*
*/
public Optional applicationName() {
return Optional.ofNullable(this.applicationName);
}
/**
* @return If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
*
*/
public Optional cnamePrefix() {
return Optional.ofNullable(this.cnamePrefix);
}
/**
* @return Your description for this environment.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Property endpointURL
*
*/
public Optional endpointURL() {
return Optional.ofNullable(this.endpointURL);
}
/**
* @return A unique name for the environment.
*
*/
public Optional environmentName() {
return Optional.ofNullable(this.environmentName);
}
/**
* @return The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
*
*/
public Optional operationsRole() {
return Optional.ofNullable(this.operationsRole);
}
/**
* @return Key-value pairs defining configuration options for this environment, such as the instance type.
*
*/
public List optionSettings() {
return this.optionSettings == null ? List.of() : this.optionSettings;
}
/**
* @return The Amazon Resource Name (ARN) of the custom platform to use with the environment.
*
*/
public Optional platformArn() {
return Optional.ofNullable(this.platformArn);
}
/**
* @return The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
*
*/
public Optional solutionStackName() {
return Optional.ofNullable(this.solutionStackName);
}
/**
* @return Specifies the tags applied to resources in the environment.
*
*/
public List tags() {
return this.tags == null ? List.of() : this.tags;
}
/**
* @return The name of the Elastic Beanstalk configuration template to use with the environment.
*
*/
public Optional templateName() {
return Optional.ofNullable(this.templateName);
}
/**
* @return Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
*
*/
public Optional tier() {
return Optional.ofNullable(this.tier);
}
/**
* @return The name of the application version to deploy.
*
*/
public Optional versionLabel() {
return Optional.ofNullable(this.versionLabel);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AwsElasticBeanstalkEnvironmentPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String applicationName;
private @Nullable String cnamePrefix;
private @Nullable String description;
private @Nullable String endpointURL;
private @Nullable String environmentName;
private @Nullable String operationsRole;
private @Nullable List optionSettings;
private @Nullable String platformArn;
private @Nullable String solutionStackName;
private @Nullable List tags;
private @Nullable String templateName;
private @Nullable TierResponse tier;
private @Nullable String versionLabel;
public Builder() {}
public Builder(AwsElasticBeanstalkEnvironmentPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.applicationName = defaults.applicationName;
this.cnamePrefix = defaults.cnamePrefix;
this.description = defaults.description;
this.endpointURL = defaults.endpointURL;
this.environmentName = defaults.environmentName;
this.operationsRole = defaults.operationsRole;
this.optionSettings = defaults.optionSettings;
this.platformArn = defaults.platformArn;
this.solutionStackName = defaults.solutionStackName;
this.tags = defaults.tags;
this.templateName = defaults.templateName;
this.tier = defaults.tier;
this.versionLabel = defaults.versionLabel;
}
@CustomType.Setter
public Builder applicationName(@Nullable String applicationName) {
this.applicationName = applicationName;
return this;
}
@CustomType.Setter
public Builder cnamePrefix(@Nullable String cnamePrefix) {
this.cnamePrefix = cnamePrefix;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder endpointURL(@Nullable String endpointURL) {
this.endpointURL = endpointURL;
return this;
}
@CustomType.Setter
public Builder environmentName(@Nullable String environmentName) {
this.environmentName = environmentName;
return this;
}
@CustomType.Setter
public Builder operationsRole(@Nullable String operationsRole) {
this.operationsRole = operationsRole;
return this;
}
@CustomType.Setter
public Builder optionSettings(@Nullable List optionSettings) {
this.optionSettings = optionSettings;
return this;
}
public Builder optionSettings(OptionSettingResponse... 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 tags(@Nullable List tags) {
this.tags = tags;
return this;
}
public Builder tags(TagResponse... tags) {
return tags(List.of(tags));
}
@CustomType.Setter
public Builder templateName(@Nullable String templateName) {
this.templateName = templateName;
return this;
}
@CustomType.Setter
public Builder tier(@Nullable TierResponse tier) {
this.tier = tier;
return this;
}
@CustomType.Setter
public Builder versionLabel(@Nullable String versionLabel) {
this.versionLabel = versionLabel;
return this;
}
public AwsElasticBeanstalkEnvironmentPropertiesResponse build() {
final var _resultValue = new AwsElasticBeanstalkEnvironmentPropertiesResponse();
_resultValue.applicationName = applicationName;
_resultValue.cnamePrefix = cnamePrefix;
_resultValue.description = description;
_resultValue.endpointURL = endpointURL;
_resultValue.environmentName = environmentName;
_resultValue.operationsRole = operationsRole;
_resultValue.optionSettings = optionSettings;
_resultValue.platformArn = platformArn;
_resultValue.solutionStackName = solutionStackName;
_resultValue.tags = tags;
_resultValue.templateName = templateName;
_resultValue.tier = tier;
_resultValue.versionLabel = versionLabel;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy