com.pulumi.aws.evidently.outputs.LaunchGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.aws.evidently.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LaunchGroup {
/**
* @return Specifies the description of the launch group.
*
*/
private @Nullable String description;
/**
* @return Specifies the name of the feature that the launch is using.
*
*/
private String feature;
/**
* @return Specifies the name of the lahnch group.
*
*/
private String name;
/**
* @return Specifies the feature variation to use for this launch group.
*
*/
private String variation;
private LaunchGroup() {}
/**
* @return Specifies the description of the launch group.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Specifies the name of the feature that the launch is using.
*
*/
public String feature() {
return this.feature;
}
/**
* @return Specifies the name of the lahnch group.
*
*/
public String name() {
return this.name;
}
/**
* @return Specifies the feature variation to use for this launch group.
*
*/
public String variation() {
return this.variation;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LaunchGroup defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private String feature;
private String name;
private String variation;
public Builder() {}
public Builder(LaunchGroup defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.feature = defaults.feature;
this.name = defaults.name;
this.variation = defaults.variation;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder feature(String feature) {
if (feature == null) {
throw new MissingRequiredPropertyException("LaunchGroup", "feature");
}
this.feature = feature;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("LaunchGroup", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder variation(String variation) {
if (variation == null) {
throw new MissingRequiredPropertyException("LaunchGroup", "variation");
}
this.variation = variation;
return this;
}
public LaunchGroup build() {
final var _resultValue = new LaunchGroup();
_resultValue.description = description;
_resultValue.feature = feature;
_resultValue.name = name;
_resultValue.variation = variation;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy