com.pulumi.googlenative.remotebuildexecution.v1alpha.outputs.GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse Maven / Gradle / Ivy
// *** 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.googlenative.remotebuildexecution.v1alpha.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse {
/**
* @return A list of acceptable values. Only effective when the policy is `RESTRICTED`.
*
*/
private List allowedValues;
/**
* @return The policy of the feature.
*
*/
private String policy;
private GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse() {}
/**
* @return A list of acceptable values. Only effective when the policy is `RESTRICTED`.
*
*/
public List allowedValues() {
return this.allowedValues;
}
/**
* @return The policy of the feature.
*
*/
public String policy() {
return this.policy;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List allowedValues;
private String policy;
public Builder() {}
public Builder(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse defaults) {
Objects.requireNonNull(defaults);
this.allowedValues = defaults.allowedValues;
this.policy = defaults.policy;
}
@CustomType.Setter
public Builder allowedValues(List allowedValues) {
this.allowedValues = Objects.requireNonNull(allowedValues);
return this;
}
public Builder allowedValues(String... allowedValues) {
return allowedValues(List.of(allowedValues));
}
@CustomType.Setter
public Builder policy(String policy) {
this.policy = Objects.requireNonNull(policy);
return this;
}
public GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse build() {
final var o = new GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse();
o.allowedValues = allowedValues;
o.policy = policy;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy