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

com.pulumi.gitlab.outputs.GetReleaseAssetsSource Maven / Gradle / Ivy

There is a newer version: 8.4.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.gitlab.outputs;

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

@CustomType
public final class GetReleaseAssetsSource {
    /**
     * @return The format of the source
     * 
     */
    private String format;
    /**
     * @return The URL of the source
     * 
     */
    private String url;

    private GetReleaseAssetsSource() {}
    /**
     * @return The format of the source
     * 
     */
    public String format() {
        return this.format;
    }
    /**
     * @return The URL of the source
     * 
     */
    public String url() {
        return this.url;
    }

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

    public static Builder builder(GetReleaseAssetsSource defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String format;
        private String url;
        public Builder() {}
        public Builder(GetReleaseAssetsSource defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.format = defaults.format;
    	      this.url = defaults.url;
        }

        @CustomType.Setter
        public Builder format(String format) {
            if (format == null) {
              throw new MissingRequiredPropertyException("GetReleaseAssetsSource", "format");
            }
            this.format = format;
            return this;
        }
        @CustomType.Setter
        public Builder url(String url) {
            if (url == null) {
              throw new MissingRequiredPropertyException("GetReleaseAssetsSource", "url");
            }
            this.url = url;
            return this;
        }
        public GetReleaseAssetsSource build() {
            final var _resultValue = new GetReleaseAssetsSource();
            _resultValue.format = format;
            _resultValue.url = url;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy