com.pulumi.kubernetes.flowcontrol.v1beta2.outputs.GroupSubject 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.kubernetes.flowcontrol.v1beta2.outputs;
import com.pulumi.core.annotations.CustomType;
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) {
this.name = Objects.requireNonNull(name);
return this;
}
public GroupSubject build() {
final var o = new GroupSubject();
o.name = name;
return o;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy