com.pulumi.kubernetes.flowcontrol.v1alpha1.outputs.GroupSubject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes 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.kubernetes.flowcontrol.v1alpha1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GroupSubject {
/**
* @return name is the user group that matches, or "*" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.
*
*/
private String name;
private GroupSubject() {}
/**
* @return name is the user group that matches, or "*" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GroupSubject defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
public Builder() {}
public Builder(GroupSubject defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GroupSubject", "name");
}
this.name = name;
return this;
}
public GroupSubject build() {
final var _resultValue = new GroupSubject();
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy