@Generated(value="org.jsonschema2pojo") public class PolicyBinding extends Object implements HasMetadata
Constructor and Description |
---|
PolicyBinding()
No args constructor for use in serialization
|
PolicyBinding(String apiVersion,
String kind,
String lastModified,
ObjectMeta metadata,
ObjectReference policyRef,
List<NamedRoleBinding> roleBindings) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getApiVersion()
(Required)
|
String |
getKind()
(Required)
|
String |
getLastModified() |
ObjectMeta |
getMetadata() |
ObjectReference |
getPolicyRef() |
List<NamedRoleBinding> |
getRoleBindings() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(String apiVersion)
(Required)
|
void |
setKind(String kind)
(Required)
|
void |
setLastModified(String lastModified) |
void |
setMetadata(ObjectMeta metadata) |
void |
setPolicyRef(ObjectReference policyRef) |
void |
setRoleBindings(List<NamedRoleBinding> roleBindings) |
public PolicyBinding()
public PolicyBinding(String apiVersion, String kind, String lastModified, ObjectMeta metadata, ObjectReference policyRef, List<NamedRoleBinding> roleBindings)
roleBindings
- metadata
- apiVersion
- kind
- lastModified
- policyRef
- public String getApiVersion()
getApiVersion
in interface HasMetadata
public void setApiVersion(String apiVersion)
apiVersion
- The apiVersionpublic String getKind()
getKind
in interface HasMetadata
public void setKind(String kind)
kind
- The kindpublic String getLastModified()
public void setLastModified(String lastModified)
lastModified
- The lastModifiedpublic ObjectMeta getMetadata()
getMetadata
in interface HasMetadata
public void setMetadata(ObjectMeta metadata)
setMetadata
in interface HasMetadata
metadata
- The metadatapublic ObjectReference getPolicyRef()
public void setPolicyRef(ObjectReference policyRef)
policyRef
- The policyRefpublic List<NamedRoleBinding> getRoleBindings()
public void setRoleBindings(List<NamedRoleBinding> roleBindings)
roleBindings
- The roleBindingsCopyright © 2011–2016 Red Hat. All rights reserved.