com.pulumi.azurenative.kubernetesruntime.outputs.GetBgpPeerResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.kubernetesruntime.outputs;
import com.pulumi.azurenative.kubernetesruntime.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetBgpPeerResult {
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @return My ASN
*
*/
private Integer myAsn;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Peer Address
*
*/
private String peerAddress;
/**
* @return Peer ASN
*
*/
private Integer peerAsn;
/**
* @return Resource provision state
*
*/
private String provisioningState;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetBgpPeerResult() {}
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @return My ASN
*
*/
public Integer myAsn() {
return this.myAsn;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Peer Address
*
*/
public String peerAddress() {
return this.peerAddress;
}
/**
* @return Peer ASN
*
*/
public Integer peerAsn() {
return this.peerAsn;
}
/**
* @return Resource provision state
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetBgpPeerResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private Integer myAsn;
private String name;
private String peerAddress;
private Integer peerAsn;
private String provisioningState;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetBgpPeerResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.myAsn = defaults.myAsn;
this.name = defaults.name;
this.peerAddress = defaults.peerAddress;
this.peerAsn = defaults.peerAsn;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetBgpPeerResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder myAsn(Integer myAsn) {
if (myAsn == null) {
throw new MissingRequiredPropertyException("GetBgpPeerResult", "myAsn");
}
this.myAsn = myAsn;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetBgpPeerResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder peerAddress(String peerAddress) {
if (peerAddress == null) {
throw new MissingRequiredPropertyException("GetBgpPeerResult", "peerAddress");
}
this.peerAddress = peerAddress;
return this;
}
@CustomType.Setter
public Builder peerAsn(Integer peerAsn) {
if (peerAsn == null) {
throw new MissingRequiredPropertyException("GetBgpPeerResult", "peerAsn");
}
this.peerAsn = peerAsn;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetBgpPeerResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetBgpPeerResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetBgpPeerResult", "type");
}
this.type = type;
return this;
}
public GetBgpPeerResult build() {
final var _resultValue = new GetBgpPeerResult();
_resultValue.id = id;
_resultValue.myAsn = myAsn;
_resultValue.name = name;
_resultValue.peerAddress = peerAddress;
_resultValue.peerAsn = peerAsn;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy