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

com.pulumi.aws.appmesh.inputs.GatewayRouteState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.72.0
Show newest version
// *** 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.inputs;

import com.pulumi.aws.appmesh.inputs.GatewayRouteSpecArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GatewayRouteState extends com.pulumi.resources.ResourceArgs {

    public static final GatewayRouteState Empty = new GatewayRouteState();

    /**
     * ARN of the gateway route.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return ARN of the gateway route.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Creation date of the gateway route.
     * 
     */
    @Import(name="createdDate")
    private @Nullable Output createdDate;

    /**
     * @return Creation date of the gateway route.
     * 
     */
    public Optional> createdDate() {
        return Optional.ofNullable(this.createdDate);
    }

    /**
     * Last update date of the gateway route.
     * 
     */
    @Import(name="lastUpdatedDate")
    private @Nullable Output lastUpdatedDate;

    /**
     * @return Last update date of the gateway route.
     * 
     */
    public Optional> lastUpdatedDate() {
        return Optional.ofNullable(this.lastUpdatedDate);
    }

    /**
     * Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
     * 
     */
    @Import(name="meshName")
    private @Nullable Output meshName;

    /**
     * @return Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
     * 
     */
    public Optional> meshName() {
        return Optional.ofNullable(this.meshName);
    }

    /**
     * AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
     * 
     */
    @Import(name="meshOwner")
    private @Nullable Output meshOwner;

    /**
     * @return AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
     * 
     */
    public Optional> meshOwner() {
        return Optional.ofNullable(this.meshOwner);
    }

    /**
     * Name to use for the gateway route. Must be between 1 and 255 characters in length.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name to use for the gateway route. Must be between 1 and 255 characters in length.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Resource owner's AWS account ID.
     * 
     */
    @Import(name="resourceOwner")
    private @Nullable Output resourceOwner;

    /**
     * @return Resource owner's AWS account ID.
     * 
     */
    public Optional> resourceOwner() {
        return Optional.ofNullable(this.resourceOwner);
    }

    /**
     * Gateway route specification to apply.
     * 
     */
    @Import(name="spec")
    private @Nullable Output spec;

    /**
     * @return Gateway route specification to apply.
     * 
     */
    public Optional> spec() {
        return Optional.ofNullable(this.spec);
    }

    /**
     * Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    /**
     * Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
     * 
     */
    @Import(name="virtualGatewayName")
    private @Nullable Output virtualGatewayName;

    /**
     * @return Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
     * 
     */
    public Optional> virtualGatewayName() {
        return Optional.ofNullable(this.virtualGatewayName);
    }

    private GatewayRouteState() {}

    private GatewayRouteState(GatewayRouteState $) {
        this.arn = $.arn;
        this.createdDate = $.createdDate;
        this.lastUpdatedDate = $.lastUpdatedDate;
        this.meshName = $.meshName;
        this.meshOwner = $.meshOwner;
        this.name = $.name;
        this.resourceOwner = $.resourceOwner;
        this.spec = $.spec;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.virtualGatewayName = $.virtualGatewayName;
    }

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

    public static final class Builder {
        private GatewayRouteState $;

        public Builder() {
            $ = new GatewayRouteState();
        }

        public Builder(GatewayRouteState defaults) {
            $ = new GatewayRouteState(Objects.requireNonNull(defaults));
        }

        /**
         * @param arn ARN of the gateway route.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the gateway route.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param createdDate Creation date of the gateway route.
         * 
         * @return builder
         * 
         */
        public Builder createdDate(@Nullable Output createdDate) {
            $.createdDate = createdDate;
            return this;
        }

        /**
         * @param createdDate Creation date of the gateway route.
         * 
         * @return builder
         * 
         */
        public Builder createdDate(String createdDate) {
            return createdDate(Output.of(createdDate));
        }

        /**
         * @param lastUpdatedDate Last update date of the gateway route.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdatedDate(@Nullable Output lastUpdatedDate) {
            $.lastUpdatedDate = lastUpdatedDate;
            return this;
        }

        /**
         * @param lastUpdatedDate Last update date of the gateway route.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdatedDate(String lastUpdatedDate) {
            return lastUpdatedDate(Output.of(lastUpdatedDate));
        }

        /**
         * @param meshName Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder meshName(@Nullable Output meshName) {
            $.meshName = meshName;
            return this;
        }

        /**
         * @param meshName Name of the service mesh in which to create the gateway route. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder meshName(String meshName) {
            return meshName(Output.of(meshName));
        }

        /**
         * @param meshOwner AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
         * 
         * @return builder
         * 
         */
        public Builder meshOwner(@Nullable Output meshOwner) {
            $.meshOwner = meshOwner;
            return this;
        }

        /**
         * @param meshOwner AWS account ID of the service mesh's owner. Defaults to the account ID the AWS provider is currently connected to.
         * 
         * @return builder
         * 
         */
        public Builder meshOwner(String meshOwner) {
            return meshOwner(Output.of(meshOwner));
        }

        /**
         * @param name Name to use for the gateway route. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name to use for the gateway route. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceOwner Resource owner's AWS account ID.
         * 
         * @return builder
         * 
         */
        public Builder resourceOwner(@Nullable Output resourceOwner) {
            $.resourceOwner = resourceOwner;
            return this;
        }

        /**
         * @param resourceOwner Resource owner's AWS account ID.
         * 
         * @return builder
         * 
         */
        public Builder resourceOwner(String resourceOwner) {
            return resourceOwner(Output.of(resourceOwner));
        }

        /**
         * @param spec Gateway route specification to apply.
         * 
         * @return builder
         * 
         */
        public Builder spec(@Nullable Output spec) {
            $.spec = spec;
            return this;
        }

        /**
         * @param spec Gateway route specification to apply.
         * 
         * @return builder
         * 
         */
        public Builder spec(GatewayRouteSpecArgs spec) {
            return spec(Output.of(spec));
        }

        /**
         * @param tags Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        /**
         * @param virtualGatewayName Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder virtualGatewayName(@Nullable Output virtualGatewayName) {
            $.virtualGatewayName = virtualGatewayName;
            return this;
        }

        /**
         * @param virtualGatewayName Name of the virtual gateway to associate the gateway route with. Must be between 1 and 255 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder virtualGatewayName(String virtualGatewayName) {
            return virtualGatewayName(Output.of(virtualGatewayName));
        }

        public GatewayRouteState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy