com.pulumi.azurenative.peering.inputs.GetPeerAsnArgs 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.peering.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetPeerAsnArgs extends com.pulumi.resources.InvokeArgs {
public static final GetPeerAsnArgs Empty = new GetPeerAsnArgs();
/**
* The peer ASN name.
*
*/
@Import(name="peerAsnName", required=true)
private Output peerAsnName;
/**
* @return The peer ASN name.
*
*/
public Output peerAsnName() {
return this.peerAsnName;
}
private GetPeerAsnArgs() {}
private GetPeerAsnArgs(GetPeerAsnArgs $) {
this.peerAsnName = $.peerAsnName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPeerAsnArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetPeerAsnArgs $;
public Builder() {
$ = new GetPeerAsnArgs();
}
public Builder(GetPeerAsnArgs defaults) {
$ = new GetPeerAsnArgs(Objects.requireNonNull(defaults));
}
/**
* @param peerAsnName The peer ASN name.
*
* @return builder
*
*/
public Builder peerAsnName(Output peerAsnName) {
$.peerAsnName = peerAsnName;
return this;
}
/**
* @param peerAsnName The peer ASN name.
*
* @return builder
*
*/
public Builder peerAsnName(String peerAsnName) {
return peerAsnName(Output.of(peerAsnName));
}
public GetPeerAsnArgs build() {
if ($.peerAsnName == null) {
throw new MissingRequiredPropertyException("GetPeerAsnArgs", "peerAsnName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy