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

com.pulumi.github.outputs.RepositorySecurityAndAnalysisAdvancedSecurity Maven / Gradle / Ivy

There is a newer version: 6.4.0-alpha.1731735876
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.github.outputs;

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

@CustomType
public final class RepositorySecurityAndAnalysisAdvancedSecurity {
    /**
     * @return Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
     * 
     */
    private String status;

    private RepositorySecurityAndAnalysisAdvancedSecurity() {}
    /**
     * @return Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
     * 
     */
    public String status() {
        return this.status;
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy