com.pulumi.aws.networkmanager.outputs.GetGlobalNetworkResult 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetGlobalNetworkResult {
/**
* @return ARN of the global network.
*
*/
private String arn;
/**
* @return Description of the global network.
*
*/
private String description;
private String globalNetworkId;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Map of resource tags.
*
*/
private Map tags;
private GetGlobalNetworkResult() {}
/**
* @return ARN of the global network.
*
*/
public String arn() {
return this.arn;
}
/**
* @return Description of the global network.
*
*/
public String description() {
return this.description;
}
public String globalNetworkId() {
return this.globalNetworkId;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Map of resource tags.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGlobalNetworkResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String description;
private String globalNetworkId;
private String id;
private Map tags;
public Builder() {}
public Builder(GetGlobalNetworkResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.description = defaults.description;
this.globalNetworkId = defaults.globalNetworkId;
this.id = defaults.id;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetGlobalNetworkResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetGlobalNetworkResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder globalNetworkId(String globalNetworkId) {
if (globalNetworkId == null) {
throw new MissingRequiredPropertyException("GetGlobalNetworkResult", "globalNetworkId");
}
this.globalNetworkId = globalNetworkId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetGlobalNetworkResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetGlobalNetworkResult", "tags");
}
this.tags = tags;
return this;
}
public GetGlobalNetworkResult build() {
final var _resultValue = new GetGlobalNetworkResult();
_resultValue.arn = arn;
_resultValue.description = description;
_resultValue.globalNetworkId = globalNetworkId;
_resultValue.id = id;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy