public class V1ClusterRole extends Object
Constructor and Description |
---|
V1ClusterRole() |
Modifier and Type | Method and Description |
---|---|
V1ClusterRole |
addRulesItem(V1PolicyRule rulesItem) |
V1ClusterRole |
aggregationRule(V1AggregationRule aggregationRule) |
V1ClusterRole |
apiVersion(String apiVersion) |
boolean |
equals(Object o) |
V1AggregationRule |
getAggregationRule()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
|
String |
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.
|
String |
getKind()
Kind is a string value representing the REST resource this object represents.
|
V1ObjectMeta |
getMetadata()
Standard object's metadata.
|
List<V1PolicyRule> |
getRules()
Rules holds all the PolicyRules for this ClusterRole
|
int |
hashCode() |
V1ClusterRole |
kind(String kind) |
V1ClusterRole |
metadata(V1ObjectMeta metadata) |
V1ClusterRole |
rules(List<V1PolicyRule> rules) |
void |
setAggregationRule(V1AggregationRule aggregationRule) |
void |
setApiVersion(String apiVersion) |
void |
setKind(String kind) |
void |
setMetadata(V1ObjectMeta metadata) |
void |
setRules(List<V1PolicyRule> rules) |
String |
toString() |
public V1ClusterRole aggregationRule(V1AggregationRule aggregationRule)
public V1AggregationRule getAggregationRule()
public void setAggregationRule(V1AggregationRule aggregationRule)
public V1ClusterRole apiVersion(String apiVersion)
public String getApiVersion()
public void setApiVersion(String apiVersion)
public V1ClusterRole kind(String kind)
public String getKind()
public void setKind(String kind)
public V1ClusterRole metadata(V1ObjectMeta metadata)
public V1ObjectMeta getMetadata()
public void setMetadata(V1ObjectMeta metadata)
public V1ClusterRole rules(List<V1PolicyRule> rules)
public V1ClusterRole addRulesItem(V1PolicyRule rulesItem)
public List<V1PolicyRule> getRules()
public void setRules(List<V1PolicyRule> rules)
Copyright © 2019. All rights reserved.