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

com.pulumi.azurenative.containerregistry.outputs.ImageDescriptorResponse 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.azurenative.containerregistry.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ImageDescriptorResponse {
    /**
     * @return The sha256-based digest of the image manifest.
     * 
     */
    private @Nullable String digest;
    /**
     * @return The registry login server.
     * 
     */
    private @Nullable String registry;
    /**
     * @return The repository name.
     * 
     */
    private @Nullable String repository;
    /**
     * @return The tag name.
     * 
     */
    private @Nullable String tag;

    private ImageDescriptorResponse() {}
    /**
     * @return The sha256-based digest of the image manifest.
     * 
     */
    public Optional digest() {
        return Optional.ofNullable(this.digest);
    }
    /**
     * @return The registry login server.
     * 
     */
    public Optional registry() {
        return Optional.ofNullable(this.registry);
    }
    /**
     * @return The repository name.
     * 
     */
    public Optional repository() {
        return Optional.ofNullable(this.repository);
    }
    /**
     * @return The tag name.
     * 
     */
    public Optional tag() {
        return Optional.ofNullable(this.tag);
    }

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

    public static Builder builder(ImageDescriptorResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String digest;
        private @Nullable String registry;
        private @Nullable String repository;
        private @Nullable String tag;
        public Builder() {}
        public Builder(ImageDescriptorResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.digest = defaults.digest;
    	      this.registry = defaults.registry;
    	      this.repository = defaults.repository;
    	      this.tag = defaults.tag;
        }

        @CustomType.Setter
        public Builder digest(@Nullable String digest) {

            this.digest = digest;
            return this;
        }
        @CustomType.Setter
        public Builder registry(@Nullable String registry) {

            this.registry = registry;
            return this;
        }
        @CustomType.Setter
        public Builder repository(@Nullable String repository) {

            this.repository = repository;
            return this;
        }
        @CustomType.Setter
        public Builder tag(@Nullable String tag) {

            this.tag = tag;
            return this;
        }
        public ImageDescriptorResponse build() {
            final var _resultValue = new ImageDescriptorResponse();
            _resultValue.digest = digest;
            _resultValue.registry = registry;
            _resultValue.repository = repository;
            _resultValue.tag = tag;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy