com.pulumi.github.outputs.RepositorySecurityAndAnalysisAdvancedSecurity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of github Show documentation
Show all versions of github Show documentation
A Pulumi package for creating and managing github cloud resources.
// *** 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;
}
}
}