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

com.pulumi.azurenative.devtestlab.outputs.GetArtifactSourceResult Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurenative.devtestlab.outputs;

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

@CustomType
public final class GetArtifactSourceResult {
    /**
     * @return The folder containing Azure Resource Manager templates.
     * 
     */
    private @Nullable String armTemplateFolderPath;
    /**
     * @return The artifact source's branch reference.
     * 
     */
    private @Nullable String branchRef;
    /**
     * @return The artifact source's creation date.
     * 
     */
    private String createdDate;
    /**
     * @return The artifact source's display name.
     * 
     */
    private @Nullable String displayName;
    /**
     * @return The folder containing artifacts.
     * 
     */
    private @Nullable String folderPath;
    /**
     * @return The identifier of the resource.
     * 
     */
    private String id;
    /**
     * @return The location of the resource.
     * 
     */
    private @Nullable String location;
    /**
     * @return The name of the resource.
     * 
     */
    private String name;
    /**
     * @return The provisioning status of the resource.
     * 
     */
    private String provisioningState;
    /**
     * @return The security token to authenticate to the artifact source.
     * 
     */
    private @Nullable String securityToken;
    /**
     * @return The artifact source's type.
     * 
     */
    private @Nullable String sourceType;
    /**
     * @return Indicates if the artifact source is enabled (values: Enabled, Disabled).
     * 
     */
    private @Nullable String status;
    /**
     * @return The tags of the resource.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource.
     * 
     */
    private String type;
    /**
     * @return The unique immutable identifier of a resource (Guid).
     * 
     */
    private String uniqueIdentifier;
    /**
     * @return The artifact source's URI.
     * 
     */
    private @Nullable String uri;

    private GetArtifactSourceResult() {}
    /**
     * @return The folder containing Azure Resource Manager templates.
     * 
     */
    public Optional armTemplateFolderPath() {
        return Optional.ofNullable(this.armTemplateFolderPath);
    }
    /**
     * @return The artifact source's branch reference.
     * 
     */
    public Optional branchRef() {
        return Optional.ofNullable(this.branchRef);
    }
    /**
     * @return The artifact source's creation date.
     * 
     */
    public String createdDate() {
        return this.createdDate;
    }
    /**
     * @return The artifact source's display name.
     * 
     */
    public Optional displayName() {
        return Optional.ofNullable(this.displayName);
    }
    /**
     * @return The folder containing artifacts.
     * 
     */
    public Optional folderPath() {
        return Optional.ofNullable(this.folderPath);
    }
    /**
     * @return The identifier of the resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The location of the resource.
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return The name of the resource.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The provisioning status of the resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The security token to authenticate to the artifact source.
     * 
     */
    public Optional securityToken() {
        return Optional.ofNullable(this.securityToken);
    }
    /**
     * @return The artifact source's type.
     * 
     */
    public Optional sourceType() {
        return Optional.ofNullable(this.sourceType);
    }
    /**
     * @return Indicates if the artifact source is enabled (values: Enabled, Disabled).
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }
    /**
     * @return The tags of the resource.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return The unique immutable identifier of a resource (Guid).
     * 
     */
    public String uniqueIdentifier() {
        return this.uniqueIdentifier;
    }
    /**
     * @return The artifact source's URI.
     * 
     */
    public Optional uri() {
        return Optional.ofNullable(this.uri);
    }

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

    public static Builder builder(GetArtifactSourceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String armTemplateFolderPath;
        private @Nullable String branchRef;
        private String createdDate;
        private @Nullable String displayName;
        private @Nullable String folderPath;
        private String id;
        private @Nullable String location;
        private String name;
        private String provisioningState;
        private @Nullable String securityToken;
        private @Nullable String sourceType;
        private @Nullable String status;
        private @Nullable Map tags;
        private String type;
        private String uniqueIdentifier;
        private @Nullable String uri;
        public Builder() {}
        public Builder(GetArtifactSourceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.armTemplateFolderPath = defaults.armTemplateFolderPath;
    	      this.branchRef = defaults.branchRef;
    	      this.createdDate = defaults.createdDate;
    	      this.displayName = defaults.displayName;
    	      this.folderPath = defaults.folderPath;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.securityToken = defaults.securityToken;
    	      this.sourceType = defaults.sourceType;
    	      this.status = defaults.status;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.uniqueIdentifier = defaults.uniqueIdentifier;
    	      this.uri = defaults.uri;
        }

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

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

            this.branchRef = branchRef;
            return this;
        }
        @CustomType.Setter
        public Builder createdDate(String createdDate) {
            if (createdDate == null) {
              throw new MissingRequiredPropertyException("GetArtifactSourceResult", "createdDate");
            }
            this.createdDate = createdDate;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(@Nullable String displayName) {

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

            this.folderPath = folderPath;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetArtifactSourceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetArtifactSourceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetArtifactSourceResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder securityToken(@Nullable String securityToken) {

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

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

            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetArtifactSourceResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder uniqueIdentifier(String uniqueIdentifier) {
            if (uniqueIdentifier == null) {
              throw new MissingRequiredPropertyException("GetArtifactSourceResult", "uniqueIdentifier");
            }
            this.uniqueIdentifier = uniqueIdentifier;
            return this;
        }
        @CustomType.Setter
        public Builder uri(@Nullable String uri) {

            this.uri = uri;
            return this;
        }
        public GetArtifactSourceResult build() {
            final var _resultValue = new GetArtifactSourceResult();
            _resultValue.armTemplateFolderPath = armTemplateFolderPath;
            _resultValue.branchRef = branchRef;
            _resultValue.createdDate = createdDate;
            _resultValue.displayName = displayName;
            _resultValue.folderPath = folderPath;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.securityToken = securityToken;
            _resultValue.sourceType = sourceType;
            _resultValue.status = status;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.uniqueIdentifier = uniqueIdentifier;
            _resultValue.uri = uri;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy