com.pulumi.aws.appmesh.outputs.GetVirtualGatewayResult 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.appmesh.outputs;
import com.pulumi.aws.appmesh.outputs.GetVirtualGatewaySpec;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetVirtualGatewayResult {
/**
* @return ARN of the virtual gateway.
*
*/
private String arn;
/**
* @return Creation date of the virtual gateway.
*
*/
private String createdDate;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Last update date of the virtual gateway.
*
*/
private String lastUpdatedDate;
private String meshName;
private String meshOwner;
private String name;
/**
* @return Resource owner's AWS account ID.
*
*/
private String resourceOwner;
/**
* @return Virtual gateway specification. See the `aws.appmesh.VirtualGateway` resource for details.
*
*/
private List specs;
/**
* @return Map of tags.
*
*/
private Map tags;
private GetVirtualGatewayResult() {}
/**
* @return ARN of the virtual gateway.
*
*/
public String arn() {
return this.arn;
}
/**
* @return Creation date of the virtual gateway.
*
*/
public String createdDate() {
return this.createdDate;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Last update date of the virtual gateway.
*
*/
public String lastUpdatedDate() {
return this.lastUpdatedDate;
}
public String meshName() {
return this.meshName;
}
public String meshOwner() {
return this.meshOwner;
}
public String name() {
return this.name;
}
/**
* @return Resource owner's AWS account ID.
*
*/
public String resourceOwner() {
return this.resourceOwner;
}
/**
* @return Virtual gateway specification. See the `aws.appmesh.VirtualGateway` resource for details.
*
*/
public List specs() {
return this.specs;
}
/**
* @return Map of tags.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVirtualGatewayResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String createdDate;
private String id;
private String lastUpdatedDate;
private String meshName;
private String meshOwner;
private String name;
private String resourceOwner;
private List specs;
private Map tags;
public Builder() {}
public Builder(GetVirtualGatewayResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.createdDate = defaults.createdDate;
this.id = defaults.id;
this.lastUpdatedDate = defaults.lastUpdatedDate;
this.meshName = defaults.meshName;
this.meshOwner = defaults.meshOwner;
this.name = defaults.name;
this.resourceOwner = defaults.resourceOwner;
this.specs = defaults.specs;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder createdDate(String createdDate) {
if (createdDate == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "createdDate");
}
this.createdDate = createdDate;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder lastUpdatedDate(String lastUpdatedDate) {
if (lastUpdatedDate == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "lastUpdatedDate");
}
this.lastUpdatedDate = lastUpdatedDate;
return this;
}
@CustomType.Setter
public Builder meshName(String meshName) {
if (meshName == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "meshName");
}
this.meshName = meshName;
return this;
}
@CustomType.Setter
public Builder meshOwner(String meshOwner) {
if (meshOwner == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "meshOwner");
}
this.meshOwner = meshOwner;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder resourceOwner(String resourceOwner) {
if (resourceOwner == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "resourceOwner");
}
this.resourceOwner = resourceOwner;
return this;
}
@CustomType.Setter
public Builder specs(List specs) {
if (specs == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "specs");
}
this.specs = specs;
return this;
}
public Builder specs(GetVirtualGatewaySpec... specs) {
return specs(List.of(specs));
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetVirtualGatewayResult", "tags");
}
this.tags = tags;
return this;
}
public GetVirtualGatewayResult build() {
final var _resultValue = new GetVirtualGatewayResult();
_resultValue.arn = arn;
_resultValue.createdDate = createdDate;
_resultValue.id = id;
_resultValue.lastUpdatedDate = lastUpdatedDate;
_resultValue.meshName = meshName;
_resultValue.meshOwner = meshOwner;
_resultValue.name = name;
_resultValue.resourceOwner = resourceOwner;
_resultValue.specs = specs;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy