com.pulumi.kubernetes.flowcontrol.v1beta2.inputs.GroupSubjectArgs 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.v1beta2.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* GroupSubject holds detailed information for group-kind subject.
*
*/
public final class GroupSubjectArgs extends com.pulumi.resources.ResourceArgs {
public static final GroupSubjectArgs Empty = new GroupSubjectArgs();
/**
* 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.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @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 Output name() {
return this.name;
}
private GroupSubjectArgs() {}
private GroupSubjectArgs(GroupSubjectArgs $) {
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GroupSubjectArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GroupSubjectArgs $;
public Builder() {
$ = new GroupSubjectArgs();
}
public Builder(GroupSubjectArgs defaults) {
$ = new GroupSubjectArgs(Objects.requireNonNull(defaults));
}
/**
* @param name 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.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name 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.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
public GroupSubjectArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GroupSubjectArgs", "name");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy