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

com.pulumi.azurenative.automation.inputs.ContentLinkArgs 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.automation.inputs;

import com.pulumi.azurenative.automation.inputs.ContentHashArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of the content link.
 * 
 */
public final class ContentLinkArgs extends com.pulumi.resources.ResourceArgs {

    public static final ContentLinkArgs Empty = new ContentLinkArgs();

    /**
     * Gets or sets the hash.
     * 
     */
    @Import(name="contentHash")
    private @Nullable Output contentHash;

    /**
     * @return Gets or sets the hash.
     * 
     */
    public Optional> contentHash() {
        return Optional.ofNullable(this.contentHash);
    }

    /**
     * Gets or sets the uri of the runbook content.
     * 
     */
    @Import(name="uri")
    private @Nullable Output uri;

    /**
     * @return Gets or sets the uri of the runbook content.
     * 
     */
    public Optional> uri() {
        return Optional.ofNullable(this.uri);
    }

    /**
     * Gets or sets the version of the content.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return Gets or sets the version of the content.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private ContentLinkArgs() {}

    private ContentLinkArgs(ContentLinkArgs $) {
        this.contentHash = $.contentHash;
        this.uri = $.uri;
        this.version = $.version;
    }

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

    public static final class Builder {
        private ContentLinkArgs $;

        public Builder() {
            $ = new ContentLinkArgs();
        }

        public Builder(ContentLinkArgs defaults) {
            $ = new ContentLinkArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param contentHash Gets or sets the hash.
         * 
         * @return builder
         * 
         */
        public Builder contentHash(@Nullable Output contentHash) {
            $.contentHash = contentHash;
            return this;
        }

        /**
         * @param contentHash Gets or sets the hash.
         * 
         * @return builder
         * 
         */
        public Builder contentHash(ContentHashArgs contentHash) {
            return contentHash(Output.of(contentHash));
        }

        /**
         * @param uri Gets or sets the uri of the runbook content.
         * 
         * @return builder
         * 
         */
        public Builder uri(@Nullable Output uri) {
            $.uri = uri;
            return this;
        }

        /**
         * @param uri Gets or sets the uri of the runbook content.
         * 
         * @return builder
         * 
         */
        public Builder uri(String uri) {
            return uri(Output.of(uri));
        }

        /**
         * @param version Gets or sets the version of the content.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Gets or sets the version of the content.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public ContentLinkArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy