com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeCustomizationApiserverAdmissionplugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH 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.ovhcloud.pulumi.ovh.CloudProject.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetKubeCustomizationApiserverAdmissionplugin {
/**
* @return Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
*
*/
private List disableds;
/**
* @return Array of admission plugins enabled, default is ["NodeRestriction","AlwaysPulImages"] and only these admission plugins can be enabled at this time.
*
*/
private List enableds;
private GetKubeCustomizationApiserverAdmissionplugin() {}
/**
* @return Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
*
*/
public List disableds() {
return this.disableds;
}
/**
* @return Array of admission plugins enabled, default is ["NodeRestriction","AlwaysPulImages"] and only these admission plugins can be enabled at this time.
*
*/
public List enableds() {
return this.enableds;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetKubeCustomizationApiserverAdmissionplugin defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List disableds;
private List enableds;
public Builder() {}
public Builder(GetKubeCustomizationApiserverAdmissionplugin defaults) {
Objects.requireNonNull(defaults);
this.disableds = defaults.disableds;
this.enableds = defaults.enableds;
}
@CustomType.Setter
public Builder disableds(List disableds) {
if (disableds == null) {
throw new MissingRequiredPropertyException("GetKubeCustomizationApiserverAdmissionplugin", "disableds");
}
this.disableds = disableds;
return this;
}
public Builder disableds(String... disableds) {
return disableds(List.of(disableds));
}
@CustomType.Setter
public Builder enableds(List enableds) {
if (enableds == null) {
throw new MissingRequiredPropertyException("GetKubeCustomizationApiserverAdmissionplugin", "enableds");
}
this.enableds = enableds;
return this;
}
public Builder enableds(String... enableds) {
return enableds(List.of(enableds));
}
public GetKubeCustomizationApiserverAdmissionplugin build() {
final var _resultValue = new GetKubeCustomizationApiserverAdmissionplugin();
_resultValue.disableds = disableds;
_resultValue.enableds = enableds;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy