@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1beta1ClusterRoleBinding extends Object implements KubernetesObject
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_API_VERSION |
static String |
SERIALIZED_NAME_KIND |
static String |
SERIALIZED_NAME_METADATA |
static String |
SERIALIZED_NAME_ROLE_REF |
static String |
SERIALIZED_NAME_SUBJECTS |
Constructor and Description |
---|
V1beta1ClusterRoleBinding() |
public static final String SERIALIZED_NAME_API_VERSION
public static final String SERIALIZED_NAME_KIND
public static final String SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_ROLE_REF
public static final String SERIALIZED_NAME_SUBJECTS
public V1beta1ClusterRoleBinding apiVersion(String apiVersion)
@Nullable public String getApiVersion()
getApiVersion
in interface KubernetesType
public void setApiVersion(String apiVersion)
public V1beta1ClusterRoleBinding kind(String kind)
@Nullable public String getKind()
getKind
in interface KubernetesType
public void setKind(String kind)
public V1beta1ClusterRoleBinding metadata(V1ObjectMeta metadata)
@Nullable public V1ObjectMeta getMetadata()
getMetadata
in interface KubernetesObject
public void setMetadata(V1ObjectMeta metadata)
public V1beta1ClusterRoleBinding roleRef(V1beta1RoleRef roleRef)
public V1beta1RoleRef getRoleRef()
public void setRoleRef(V1beta1RoleRef roleRef)
public V1beta1ClusterRoleBinding subjects(List<V1beta1Subject> subjects)
public V1beta1ClusterRoleBinding addSubjectsItem(V1beta1Subject subjectsItem)
@Nullable public List<V1beta1Subject> getSubjects()
public void setSubjects(List<V1beta1Subject> subjects)
Copyright © 2020. All rights reserved.