com.pulumi.digitalocean.outputs.AppSpecEgress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of digitalocean Show documentation
Show all versions of digitalocean Show documentation
A Pulumi package for creating and managing DigitalOcean 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.digitalocean.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AppSpecEgress {
/**
* @return The app egress type: `AUTOASSIGN`, `DEDICATED_IP`
*
*/
private @Nullable String type;
private AppSpecEgress() {}
/**
* @return The app egress type: `AUTOASSIGN`, `DEDICATED_IP`
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AppSpecEgress defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String type;
public Builder() {}
public Builder(AppSpecEgress defaults) {
Objects.requireNonNull(defaults);
this.type = defaults.type;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public AppSpecEgress build() {
final var _resultValue = new AppSpecEgress();
_resultValue.type = type;
return _resultValue;
}
}
}