@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1alpha1RoleBinding 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 |
---|
V1alpha1RoleBinding() |
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 V1alpha1RoleBinding apiVersion(String apiVersion)
@Nullable public String getApiVersion()
getApiVersion
in interface KubernetesType
public void setApiVersion(String apiVersion)
public V1alpha1RoleBinding kind(String kind)
@Nullable public String getKind()
getKind
in interface KubernetesType
public void setKind(String kind)
public V1alpha1RoleBinding metadata(V1ObjectMeta metadata)
@Nullable public V1ObjectMeta getMetadata()
getMetadata
in interface KubernetesObject
public void setMetadata(V1ObjectMeta metadata)
public V1alpha1RoleBinding roleRef(V1alpha1RoleRef roleRef)
public V1alpha1RoleRef getRoleRef()
public void setRoleRef(V1alpha1RoleRef roleRef)
public V1alpha1RoleBinding subjects(List<RbacV1alpha1Subject> subjects)
public V1alpha1RoleBinding addSubjectsItem(RbacV1alpha1Subject subjectsItem)
@Nullable public List<RbacV1alpha1Subject> getSubjects()
public void setSubjects(List<RbacV1alpha1Subject> subjects)
Copyright © 2020. All rights reserved.