All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.appmesh.outputs.GetGatewayRouteResult Maven / Gradle / Ivy

// *** 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.GetGatewayRouteSpec;
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 GetGatewayRouteResult {
    /**
     * @return ARN of the gateway route.
     * 
     */
    private String arn;
    /**
     * @return Creation date of the gateway route.
     * 
     */
    private String createdDate;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Last update date of the gateway route.
     * 
     */
    private String lastUpdatedDate;
    private String meshName;
    private String meshOwner;
    private String name;
    /**
     * @return Resource owner's AWS account ID.
     * 
     */
    private String resourceOwner;
    /**
     * @return Gateway route specification. See the `aws.appmesh.GatewayRoute` resource for details.
     * 
     */
    private List specs;
    /**
     * @return Map of tags.
     * 
     */
    private Map tags;
    private String virtualGatewayName;

    private GetGatewayRouteResult() {}
    /**
     * @return ARN of the gateway route.
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return Creation date of the gateway route.
     * 
     */
    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 gateway route.
     * 
     */
    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 Gateway route specification. See the `aws.appmesh.GatewayRoute` resource for details.
     * 
     */
    public List specs() {
        return this.specs;
    }
    /**
     * @return Map of tags.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    public String virtualGatewayName() {
        return this.virtualGatewayName;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetGatewayRouteResult 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;
        private String virtualGatewayName;
        public Builder() {}
        public Builder(GetGatewayRouteResult 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;
    	      this.virtualGatewayName = defaults.virtualGatewayName;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            if (arn == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "arn");
            }
            this.arn = arn;
            return this;
        }
        @CustomType.Setter
        public Builder createdDate(String createdDate) {
            if (createdDate == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "createdDate");
            }
            this.createdDate = createdDate;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder lastUpdatedDate(String lastUpdatedDate) {
            if (lastUpdatedDate == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "lastUpdatedDate");
            }
            this.lastUpdatedDate = lastUpdatedDate;
            return this;
        }
        @CustomType.Setter
        public Builder meshName(String meshName) {
            if (meshName == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "meshName");
            }
            this.meshName = meshName;
            return this;
        }
        @CustomType.Setter
        public Builder meshOwner(String meshOwner) {
            if (meshOwner == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "meshOwner");
            }
            this.meshOwner = meshOwner;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder resourceOwner(String resourceOwner) {
            if (resourceOwner == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "resourceOwner");
            }
            this.resourceOwner = resourceOwner;
            return this;
        }
        @CustomType.Setter
        public Builder specs(List specs) {
            if (specs == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "specs");
            }
            this.specs = specs;
            return this;
        }
        public Builder specs(GetGatewayRouteSpec... specs) {
            return specs(List.of(specs));
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder virtualGatewayName(String virtualGatewayName) {
            if (virtualGatewayName == null) {
              throw new MissingRequiredPropertyException("GetGatewayRouteResult", "virtualGatewayName");
            }
            this.virtualGatewayName = virtualGatewayName;
            return this;
        }
        public GetGatewayRouteResult build() {
            final var _resultValue = new GetGatewayRouteResult();
            _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;
            _resultValue.virtualGatewayName = virtualGatewayName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy