Class ChangeGraphAccess.Builder
- java.lang.Object
-
- uk.gov.gchq.gaffer.operation.Operation.BaseBuilder<ChangeGraphAccess,ChangeGraphAccess.Builder>
-
- uk.gov.gchq.gaffer.federated.simple.operation.ChangeGraphAccess.Builder
-
- All Implemented Interfaces:
Operation.Builder<ChangeGraphAccess,ChangeGraphAccess.Builder>
- Enclosing class:
- ChangeGraphAccess
public static class ChangeGraphAccess.Builder extends Operation.BaseBuilder<ChangeGraphAccess,ChangeGraphAccess.Builder>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeGraphAccess.BuildergraphId(String graphId)Set the current graph IDChangeGraphAccess.BuilderisPublic(Boolean isPublic)Set if graph is public.ChangeGraphAccess.Builderowner(String owner)Set the new owner of the Graph.ChangeGraphAccess.BuilderreadPredicate(AccessPredicate readPredicate)Set the read predicate for the graph.ChangeGraphAccess.BuilderwritePredicate(AccessPredicate writePredicate)Set the write predicate.
-
-
-
Method Detail
-
graphId
public ChangeGraphAccess.Builder graphId(String graphId)
Set the current graph ID- Parameters:
graphId- the graph ID of the graph to alter- Returns:
- The builder
-
owner
public ChangeGraphAccess.Builder owner(String owner)
Set the new owner of the Graph.- Parameters:
owner- The owner.- Returns:
- The builder
-
isPublic
public ChangeGraphAccess.Builder isPublic(Boolean isPublic)
Set if graph is public.- Parameters:
isPublic- Is the graph public.- Returns:
- The builder
-
readPredicate
public ChangeGraphAccess.Builder readPredicate(AccessPredicate readPredicate)
Set the read predicate for the graph.- Parameters:
readPredicate- The read predicate.- Returns:
- The builder.
-
writePredicate
public ChangeGraphAccess.Builder writePredicate(AccessPredicate writePredicate)
Set the write predicate.- Parameters:
writePredicate- The write predicate.- Returns:
- The builder.
-
-