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

com.pulumi.artifactory.inputs.GetRemoteBowerRepositoryContentSynchronisationArgs Maven / Gradle / Ivy

There is a newer version: 7.10.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.artifactory.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetRemoteBowerRepositoryContentSynchronisationArgs extends com.pulumi.resources.ResourceArgs {

    public static final GetRemoteBowerRepositoryContentSynchronisationArgs Empty = new GetRemoteBowerRepositoryContentSynchronisationArgs();

    /**
     * If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
     * 
     */
    @Import(name="propertiesEnabled")
    private @Nullable Output propertiesEnabled;

    /**
     * @return If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
     * 
     */
    public Optional> propertiesEnabled() {
        return Optional.ofNullable(this.propertiesEnabled);
    }

    /**
     * If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
     * 
     */
    @Import(name="sourceOriginAbsenceDetection")
    private @Nullable Output sourceOriginAbsenceDetection;

    /**
     * @return If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
     * 
     */
    public Optional> sourceOriginAbsenceDetection() {
        return Optional.ofNullable(this.sourceOriginAbsenceDetection);
    }

    /**
     * If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.
     * 
     */
    @Import(name="statisticsEnabled")
    private @Nullable Output statisticsEnabled;

    /**
     * @return If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.
     * 
     */
    public Optional> statisticsEnabled() {
        return Optional.ofNullable(this.statisticsEnabled);
    }

    private GetRemoteBowerRepositoryContentSynchronisationArgs() {}

    private GetRemoteBowerRepositoryContentSynchronisationArgs(GetRemoteBowerRepositoryContentSynchronisationArgs $) {
        this.enabled = $.enabled;
        this.propertiesEnabled = $.propertiesEnabled;
        this.sourceOriginAbsenceDetection = $.sourceOriginAbsenceDetection;
        this.statisticsEnabled = $.statisticsEnabled;
    }

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

    public static final class Builder {
        private GetRemoteBowerRepositoryContentSynchronisationArgs $;

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

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

        /**
         * @param enabled If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param propertiesEnabled If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
         * 
         * @return builder
         * 
         */
        public Builder propertiesEnabled(@Nullable Output propertiesEnabled) {
            $.propertiesEnabled = propertiesEnabled;
            return this;
        }

        /**
         * @param propertiesEnabled If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
         * 
         * @return builder
         * 
         */
        public Builder propertiesEnabled(Boolean propertiesEnabled) {
            return propertiesEnabled(Output.of(propertiesEnabled));
        }

        /**
         * @param sourceOriginAbsenceDetection If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
         * 
         * @return builder
         * 
         */
        public Builder sourceOriginAbsenceDetection(@Nullable Output sourceOriginAbsenceDetection) {
            $.sourceOriginAbsenceDetection = sourceOriginAbsenceDetection;
            return this;
        }

        /**
         * @param sourceOriginAbsenceDetection If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
         * 
         * @return builder
         * 
         */
        public Builder sourceOriginAbsenceDetection(Boolean sourceOriginAbsenceDetection) {
            return sourceOriginAbsenceDetection(Output.of(sourceOriginAbsenceDetection));
        }

        /**
         * @param statisticsEnabled If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.
         * 
         * @return builder
         * 
         */
        public Builder statisticsEnabled(@Nullable Output statisticsEnabled) {
            $.statisticsEnabled = statisticsEnabled;
            return this;
        }

        /**
         * @param statisticsEnabled If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.
         * 
         * @return builder
         * 
         */
        public Builder statisticsEnabled(Boolean statisticsEnabled) {
            return statisticsEnabled(Output.of(statisticsEnabled));
        }

        public GetRemoteBowerRepositoryContentSynchronisationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy