Class AccessRule
- java.lang.Object
-
- me.snowdrop.istio.api.rbac.v1alpha1.AccessRule
-
- All Implemented Interfaces:
Serializable
public class AccessRule extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccessRule()No args constructor for use in serializationAccessRule(List<Constraint> constraints, List<String> hosts, List<String> methods, List<String> notHosts, List<String> notMethods, List<String> notPaths, String notPorts, List<String> paths, String ports, List<String> services)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Constraint>getConstraints()List<String>getHosts()List<String>getMethods()List<String>getNotHosts()List<String>getNotMethods()List<String>getNotPaths()StringgetNotPorts()List<String>getPaths()StringgetPorts()List<String>getServices()voidsetConstraints(List<Constraint> constraints)voidsetHosts(List<String> hosts)voidsetMethods(List<String> methods)voidsetNotHosts(List<String> notHosts)voidsetNotMethods(List<String> notMethods)voidsetNotPaths(List<String> notPaths)voidsetNotPorts(String notPorts)voidsetPaths(List<String> paths)voidsetPorts(String ports)voidsetServices(List<String> services)
-
-
-
Constructor Detail
-
AccessRule
public AccessRule()
No args constructor for use in serialization
-
AccessRule
public AccessRule(List<Constraint> constraints, List<String> hosts, List<String> methods, List<String> notHosts, List<String> notMethods, List<String> notPaths, String notPorts, List<String> paths, String ports, List<String> services)
- Parameters:
notMethods-hosts-methods-paths-notPaths-notHosts-services-ports-constraints-notPorts-
-
-
Method Detail
-
getConstraints
public List<Constraint> getConstraints()
-
setConstraints
public void setConstraints(List<Constraint> constraints)
-
getNotPorts
public String getNotPorts()
-
setNotPorts
public void setNotPorts(String notPorts)
-
getPorts
public String getPorts()
-
setPorts
public void setPorts(String ports)
-
-