com.pulumi.aws.networkmanager.outputs.ConnectPeerBgpOptions 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.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ConnectPeerBgpOptions {
private @Nullable Integer peerAsn;
private ConnectPeerBgpOptions() {}
public Optional peerAsn() {
return Optional.ofNullable(this.peerAsn);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ConnectPeerBgpOptions defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer peerAsn;
public Builder() {}
public Builder(ConnectPeerBgpOptions defaults) {
Objects.requireNonNull(defaults);
this.peerAsn = defaults.peerAsn;
}
@CustomType.Setter
public Builder peerAsn(@Nullable Integer peerAsn) {
this.peerAsn = peerAsn;
return this;
}
public ConnectPeerBgpOptions build() {
final var _resultValue = new ConnectPeerBgpOptions();
_resultValue.peerAsn = peerAsn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy