@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V1alpha1ClusterRole extends Object implements KubernetesObject
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_AGGREGATION_RULE |
static String |
SERIALIZED_NAME_API_VERSION |
static String |
SERIALIZED_NAME_KIND |
static String |
SERIALIZED_NAME_METADATA |
static String |
SERIALIZED_NAME_RULES |
Constructor and Description |
---|
V1alpha1ClusterRole() |
public static final String SERIALIZED_NAME_AGGREGATION_RULE
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_RULES
public V1alpha1ClusterRole aggregationRule(V1alpha1AggregationRule aggregationRule)
@Nullable public V1alpha1AggregationRule getAggregationRule()
public void setAggregationRule(V1alpha1AggregationRule aggregationRule)
public V1alpha1ClusterRole apiVersion(String apiVersion)
@Nullable public String getApiVersion()
getApiVersion
in interface KubernetesType
public void setApiVersion(String apiVersion)
public V1alpha1ClusterRole kind(String kind)
@Nullable public String getKind()
getKind
in interface KubernetesType
public void setKind(String kind)
public V1alpha1ClusterRole metadata(V1ObjectMeta metadata)
@Nullable public V1ObjectMeta getMetadata()
getMetadata
in interface KubernetesObject
public void setMetadata(V1ObjectMeta metadata)
public V1alpha1ClusterRole rules(List<V1alpha1PolicyRule> rules)
public V1alpha1ClusterRole addRulesItem(V1alpha1PolicyRule rulesItem)
@Nullable public List<V1alpha1PolicyRule> getRules()
public void setRules(List<V1alpha1PolicyRule> rules)
Copyright © 2020. All rights reserved.