com.pulumi.aws.networkmanager.outputs.VpcAttachmentOptions 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.networkmanager.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VpcAttachmentOptions {
/**
* @return Indicates whether appliance mode is supported.
* If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow.
* If the VPC attachment is pending acceptance, changing this value will recreate the resource.
*
*/
private @Nullable Boolean applianceModeSupport;
/**
* @return Indicates whether IPv6 is supported.
* If the VPC attachment is pending acceptance, changing this value will recreate the resource.
*
*/
private @Nullable Boolean ipv6Support;
private VpcAttachmentOptions() {}
/**
* @return Indicates whether appliance mode is supported.
* If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow.
* If the VPC attachment is pending acceptance, changing this value will recreate the resource.
*
*/
public Optional applianceModeSupport() {
return Optional.ofNullable(this.applianceModeSupport);
}
/**
* @return Indicates whether IPv6 is supported.
* If the VPC attachment is pending acceptance, changing this value will recreate the resource.
*
*/
public Optional ipv6Support() {
return Optional.ofNullable(this.ipv6Support);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VpcAttachmentOptions defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean applianceModeSupport;
private @Nullable Boolean ipv6Support;
public Builder() {}
public Builder(VpcAttachmentOptions defaults) {
Objects.requireNonNull(defaults);
this.applianceModeSupport = defaults.applianceModeSupport;
this.ipv6Support = defaults.ipv6Support;
}
@CustomType.Setter
public Builder applianceModeSupport(@Nullable Boolean applianceModeSupport) {
this.applianceModeSupport = applianceModeSupport;
return this;
}
@CustomType.Setter
public Builder ipv6Support(@Nullable Boolean ipv6Support) {
this.ipv6Support = ipv6Support;
return this;
}
public VpcAttachmentOptions build() {
final var _resultValue = new VpcAttachmentOptions();
_resultValue.applianceModeSupport = applianceModeSupport;
_resultValue.ipv6Support = ipv6Support;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy