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

com.pulumi.googlenative.clouddeploy.v1.outputs.BuildArtifactResponse 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.googlenative.clouddeploy.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class BuildArtifactResponse {
    /**
     * @return Image name in Skaffold configuration.
     * 
     */
    private String image;
    /**
     * @return Image tag to use. This will generally be the full path to an image, such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:abc123".
     * 
     */
    private String tag;

    private BuildArtifactResponse() {}
    /**
     * @return Image name in Skaffold configuration.
     * 
     */
    public String image() {
        return this.image;
    }
    /**
     * @return Image tag to use. This will generally be the full path to an image, such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:abc123".
     * 
     */
    public String tag() {
        return this.tag;
    }

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

    public static Builder builder(BuildArtifactResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String image;
        private String tag;
        public Builder() {}
        public Builder(BuildArtifactResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.image = defaults.image;
    	      this.tag = defaults.tag;
        }

        @CustomType.Setter
        public Builder image(String image) {
            this.image = Objects.requireNonNull(image);
            return this;
        }
        @CustomType.Setter
        public Builder tag(String tag) {
            this.tag = Objects.requireNonNull(tag);
            return this;
        }
        public BuildArtifactResponse build() {
            final var o = new BuildArtifactResponse();
            o.image = image;
            o.tag = tag;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy