Class ClusterRoleBinding.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.rbac.v1alpha1.outputs.ClusterRoleBinding.Builder
-
- Enclosing class:
- ClusterRoleBinding
public static final class ClusterRoleBinding.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterRoleBinding defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterRoleBinding.Builder
apiVersion(java.lang.String apiVersion)
ClusterRoleBinding
build()
ClusterRoleBinding.Builder
kind(java.lang.String kind)
ClusterRoleBinding.Builder
metadata(ObjectMeta metadata)
ClusterRoleBinding.Builder
roleRef(RoleRef roleRef)
ClusterRoleBinding.Builder
subjects(Subject... subjects)
ClusterRoleBinding.Builder
subjects(java.util.List<Subject> subjects)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterRoleBinding defaults)
-
-
Method Detail
-
apiVersion
public ClusterRoleBinding.Builder apiVersion(@Nullable java.lang.String apiVersion)
-
kind
public ClusterRoleBinding.Builder kind(@Nullable java.lang.String kind)
-
metadata
public ClusterRoleBinding.Builder metadata(@Nullable ObjectMeta metadata)
-
roleRef
public ClusterRoleBinding.Builder roleRef(RoleRef roleRef)
-
subjects
public ClusterRoleBinding.Builder subjects(@Nullable java.util.List<Subject> subjects)
-
subjects
public ClusterRoleBinding.Builder subjects(Subject... subjects)
-
build
public ClusterRoleBinding build()
-
-