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

com.pulumi.azurenative.databoxedge.outputs.IoTEdgeAgentInfoResponse 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.databoxedge.outputs;

import com.pulumi.azurenative.databoxedge.outputs.ImageRepositoryCredentialResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class IoTEdgeAgentInfoResponse {
    /**
     * @return Name of the IoT edge agent image.
     * 
     */
    private String imageName;
    /**
     * @return Image repository details.
     * 
     */
    private @Nullable ImageRepositoryCredentialResponse imageRepository;
    /**
     * @return Image Tag.
     * 
     */
    private String tag;

    private IoTEdgeAgentInfoResponse() {}
    /**
     * @return Name of the IoT edge agent image.
     * 
     */
    public String imageName() {
        return this.imageName;
    }
    /**
     * @return Image repository details.
     * 
     */
    public Optional imageRepository() {
        return Optional.ofNullable(this.imageRepository);
    }
    /**
     * @return Image Tag.
     * 
     */
    public String tag() {
        return this.tag;
    }

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

    public static Builder builder(IoTEdgeAgentInfoResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String imageName;
        private @Nullable ImageRepositoryCredentialResponse imageRepository;
        private String tag;
        public Builder() {}
        public Builder(IoTEdgeAgentInfoResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.imageName = defaults.imageName;
    	      this.imageRepository = defaults.imageRepository;
    	      this.tag = defaults.tag;
        }

        @CustomType.Setter
        public Builder imageName(String imageName) {
            if (imageName == null) {
              throw new MissingRequiredPropertyException("IoTEdgeAgentInfoResponse", "imageName");
            }
            this.imageName = imageName;
            return this;
        }
        @CustomType.Setter
        public Builder imageRepository(@Nullable ImageRepositoryCredentialResponse imageRepository) {

            this.imageRepository = imageRepository;
            return this;
        }
        @CustomType.Setter
        public Builder tag(String tag) {
            if (tag == null) {
              throw new MissingRequiredPropertyException("IoTEdgeAgentInfoResponse", "tag");
            }
            this.tag = tag;
            return this;
        }
        public IoTEdgeAgentInfoResponse build() {
            final var _resultValue = new IoTEdgeAgentInfoResponse();
            _resultValue.imageName = imageName;
            _resultValue.imageRepository = imageRepository;
            _resultValue.tag = tag;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy